Writing kernel modules in Haskell
Writing kernel modules in Haskell
Posted Sep 18, 2009 1:25 UTC (Fri) by kbob (guest, #1770)In reply to: Writing kernel modules in Haskell by cesarb
Parent article: Writing kernel modules in Haskell
Even a seemingly simple statement like "a = b + c;" can allocate memory in C++, while in C the only way that statement will allocate memory is if the compiler has to spill registers
#define a (buf[read(open("/dev/hda", 0), buf, sizeof buf) - 1])
#define b (send(some_sock, buf, sizeof buf, 0))
#define c (system("xloadimage /usr/share/cups/doc-root/images/smiley.jpg &"))
You were saying?
