Hacker News new | past | comments | ask | show | jobs | submit login

Dart runs on IE >= 9, Firefox, Safari and Chrome. Why is that "too bad"?



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.


Why 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.


It does not bring any advantage to the plethora of languages that already compile down to JavaScript.


Most 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.


Like Amber, TypeScript, F#, ....


All require javascript compilation for development AFAIK


Like Dart, because it will never be adopted by other browsers.


He 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.


Pure Dart code isn't realistically intended to be run on user-facing websites for now. At the moment, Dartium is primarily intended for developers.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: