3 ms·
As an alternative, just working on/sponsoring/begging for an asm.js target might be enough to equalize performance.
by mhd 13y ago
As an alternative, just working on/sponsoring/begging for an asm.js target might be enough to equalize performance.
- azakai 13y agoNot 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.