Writing kernel modules in Haskell
Writing kernel modules in Haskell
Posted Sep 15, 2009 9:42 UTC (Tue) by etienne_lorrain@yahoo.fr (guest, #38022)In reply to: Writing kernel modules in Haskell by cesarb
Parent article: Writing kernel modules in Haskell
> of course this will be optimized to read/write several bytes each time
Do not be so sure of this "of course", for instance GCC:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22141
and last time I tried Clang (LLVM) was worse (mov $4,ecx; rep mov stosb).
I have to say that older compiler version were copying fields of structure more efficiently, because they were not optimised to compile
C++ code which may trigger constructor for each fields of the structure.
