3 ms·
Also prohibits nan-boxing, afaiu, which may be a big loss for dynamic languages.
by wruza 4y ago
Also prohibits nan-boxing, afaiu, which may be a big loss for dynamic languages.
- nerdponx 4y agoWhat does NaN-boxing mean in this context?
- wruza 4y agohttps://softwareengineering.stackexchange.com/a/185431 https://softwareengineering.stackexchange.com/a/185431 Basically it is a way to push primitive values of any type and pointers into a 64-bit double, to reduce memory/cache footprint in dynamic languages.
- _0ffh 4y agoI think the advantages are big enough that you can afford to use a flag plus a 63 bit posit and still be ahead.