No one has a problem with Dart2JS. We welcome more language choice on the web. People have a problem with Dartium because it's an attempt by one company to bully the rest of the web into adopting their own proprietary technology.
It's no different than putting an asm.js processor into a JS engine. asm.js is equally "proprietary" (actually more so, it's not on any standards track), and if it's truly faster than plain JS, then it's equally "bullying."
(Note: I actually like asm.js a lot and don't think that healthy competition is "bullying").
Are you being serious? asm.js is basically a "best practices" guide for js vm authors. It's not required to run asm.js code, or even guaranteed to be faster; other js engines have optimized for asm.js code without treating "use asm" special.
Dartium requires the end developer distribute 2 payloads, one for Dartium browsers and 1 for JavaScript browsers.
> asm.js is basically a "best practices" guide for js vm authors.
No. It is a specifically designed subset of JS that also has extra annotations. If a block of code does not adhere to the rules, it is not asm.js and will be processed as regular JS. If it validates, it is processed by a different compiler pipeline and AOT compiled.
It is much more accurate to say that asm.js is a newly designed byte-code that very cleverly happens to use backward-compatible JS as its serialization.
Native Dart is also not guaranteed to be faster than Dart2JS.
> Dartium requires the end developer distribute 2 payloads, one for Dartium browsers and 1 for JavaScript browsers.
Ah but that is only extra work for the developer. Similar to compile-to-JS languages like TypeScript, CoffeeScript, Emscripten, etc. there is no problem with new technologies that impose extra work on the developer, because it is the developer's choice to use it or not, so the person making the decision is the one paying the extra administrative cost.
It's extra work that a lot of developers aren't going to do. "Works in Chrome, closes ticket". Can't even get developers to use css prefixes properly.
Hence why I called Dartium bullying. It's an attempt to reinvent the web with Google in control. asm.js is just an attempt to make existing vm optimizations a little bit better (and again, others disagree that they are needed).