Writing kernel modules in Haskell
Writing kernel modules in Haskell
Posted Sep 14, 2009 0:17 UTC (Mon) by Ed_L. (guest, #24287)In reply to: Writing kernel modules in Haskell by bjacob
Parent article: Writing kernel modules in Haskell
When you replace ptr = (T*)malloc(sizeof(T)); by ptr = new T;, you haven't hidden the memory allocation!evaluates "true" only when ptr = new T; is in fact replaceable by ptr = (T*)malloc(sizeof(T)); Are you certain you want to debate this one? ;)
