3 ms·
Jonathan Blow's Jai language lets you do this by annotating structs, along with some other assisted memory optimizations (pointer compression is another).
by zurn 9y ago
Jonathan Blow's Jai language lets you do this by annotating structs, along with some other assisted memory optimizations (pointer compression is another).
- AstralStorm 9y agoI suspect GCC could do it too for invisible or fully inlined symbols. This is possible in C99 and C++11 because type punning is forbidden in general. But that would need a special flag to specify incompatible internal ABI.