4 ms·
I thought that asm.js would be a compile target for any language, not just C/C++. E.g. you could have dart2asm instead of dart2js.
by _greim_ 13y ago
I thought that asm.js would be a compile target for any language, not just C/C++. E.g. you could have dart2asm instead of dart2js.
- masklinn 13y agoAs far as I understand, the semantics of asm.js make that not very interesting.
- mraleph 13y agoUnfortunately right now asm.js is an unsuitable target for any dynamically typed language with garbage collection, because you have to run your whole runtime system and a garbage collector as asm.js'ied code, which is not exactly what you want in terms of overhead. Asm.js is a target for anything that is statically typed and low-level (e.g. C).
- _greim_ 13y agoAh. Thanks for the info.