3 ms·
You seem to be saying that the AOT path requires constrained typing and a strict subset of the language semantics, which agrees with the parent's point that sta
by pifflesnort 14y ago
You seem to be saying that the AOT path requires constrained typing and a strict subset of the language semantics, which agrees with the parent's point that static type semantics matter in terms of performance.
- gsnedders 14y agoThey matter, yes. But they aren't in any way specific to asm.js — it was something that was already true in generic JS.
- corresation 14y agoBut it is extremely specific to asm.js -- the optimizations possible can only happen because static typing is mandated. It is absolutely a subset of JS, but JS can't make those optimizations because the guarantees aren't there.