2 ms·
Not sure asm.js would make sense for something like Dart, since it is mainly intended for things like C and C++ (Dart is a dynamic language, and needs different
by azakai 13y ago
Not sure asm.js would make sense for something like Dart, since it is mainly intended for things like C and C++ (Dart is a dynamic language, and needs different forms of optimization).
However, I think it would be fun to explore that direction! I'd be happy to collaborate with Dart VM people on that.
- mistercow 13y agoI think we can be fairly sure that targeting asm.js would degrade performance for a language like Dart.
- azakai 13y agoI suspect you might be right, but I am far from certain - can you elaborate? My concerns are about things like PICs, but code generation is possible, so replacing functions to change PICs is one way to implement them. This is, I think, how the Graal project does JavaScript and Ruby, and they get very good performance.