5 ms·
The JavaScript output runs on all of those browsers, but only Chrome (or actually the special "Dartium" version of Chrome) has a VM to run Dart code directly.
by LVB 13y ago
The JavaScript output runs on all of those browsers, but only Chrome (or actually the special "Dartium" version of Chrome) has a VM to run Dart code directly.
- spankalee 13y agoWhy does that matter? Dart brings improvements to the language and tools that are worthwhile regardless of the VM being available in the user's client. dart2js is the primary method of deploying Dart code, and there's nothing bad about that.
- pjmlp 13y agoIt does not bring any advantage to the plethora of languages that already compile down to JavaScript.
- afsina 13y agoMost of them's tool support does not even compare to Dart. Dart code can run directly in Browser for the starters, multiple strong IDEs, sane debugging and modularity support.
- pjmlp 13y agoLike Amber, TypeScript, F#, ....
- afsina 13y agoAll require javascript compilation for development AFAIK
- pjmlp 13y agoLike Dart, because it will never be adopted by other browsers.
- spankalee 13y agoHe said "for development". The nice thing about the VM in Dartium is that you don't need to compile as part of your development workflow until you need to QA and deploy, just edit and refresh. You don't need the VM in consumer browsers to get that benefit.
- pjmlp 13y agoIt does not bring any advantage to the plethora of languages that already compile down to JavaScript.
- jordonwii 13y agoPure Dart code isn't realistically intended to be run on user-facing websites for now. At the moment, Dartium is primarily intended for developers.