I mean, if float-to-integer performance is so critical, why was this not fixed a long time ago in the language? What am I missing?
I mean, if float-to-integer performance is so critical, why was this not fixed a long time ago in the language? What am I missing?
ARM wants to be appropriate for more workloads. They don't want to have to wait for software to change. The want to sell processor designs now.
I guess the incredibly long tail of JavaScript deployments. You could change the language today and it would take years for it to percolate down to all the deployments out there. By comparison a silicon change requires zero code changes and is entirely backwards compatible. Plus there's a pretty simple marketing argument: "buy our CPU, it makes commonly-encountered workloads faster", vs "buy our CPU, when everyone upgrades the platform they use it'll be faster"
Technically someone can just make a better VM engine for JavaScript to execute inside of, but whatever I guess they decided this would be easier.
Do you mean JS inside of browsers themselves ? Or JS running in another manner