Re:Writing device drivers in Linux: A brief tutorial (2006)
by reaclmbs on Sunday April 21, 2013 @08:55PM
(#5587200)
Someone needs to write "c for ruby programmers"
[ Parent
| on HN ]
Re:Writing device drivers in Linux: A brief tutorial (2006)
by ajdecon on Sunday April 21, 2013 @09:01PM
(#5587217)
Not exactly what you're looking for, but "Learn C The Hard Way"[0] isn't a bad tutorial...
Re:Writing device drivers in Linux: A brief tutorial (2006)
by derleth on Sunday April 21, 2013 @10:44PM
(#5587472)
> "c for ruby programmers"
Most, if not all, of this book would be "How To Use Pointers" with large sections on how to structure your code around correctly allocating and freeing memory.
A (fairly brief) appendix would be "Weird Stuff C Programmers Actually Do", for the 'dark corners' stuff that's actually used outside obfuscated code competitions. It might be hard for someone who's actually a C programmer to write this; things stop looking weird after a while.