Re:Show HN: Nova JavaScript Engine
by whizzter on Tuesday November 19, 2024 @02:56PM
(#42187433)
Some pros definetly, my target was mainly games so coherent and/or low cost handling of primitive values (numbers) was a priority. With NaN tagging you can do all operations sans addition with the regular floating point instructions and if the CPU has a canonical NaN representaation that doesn't collide with the chosen tag pattern then there is basically no cost for the dynamic typing when it comes to numeric operations.
[ Parent
| on HN ]
There are no comments on this comment yet.