Hacker News new | ask | show | jobs
by ffwff 2364 days ago
Precise GC information, the crystal compiler prepends a dword/qword value indicating an class' typeid upon allocation. I decided to patch the compiler to generate 2 functions, one that outputs the class' size based on a typeid, another one that outputs the offsets of each pointer in that class as a bitmap, based on a typeid.

The compiler also generates a null-terminated array of pointers pointing to the offsets of global variables.

No iso images yet, I haven't implemented iso9660 filesystem support, but it's coming soon?