3 ms·
The VBScript comparison dig is as old as it is wrong. VBScript was IE only, because VBScript didn't compile to JavaScript. Dart compiles to JavaScript and runs
by spankalee 12y ago
The VBScript comparison dig is as old as it is wrong.
VBScript was IE only, because VBScript didn't compile to JavaScript. Dart compiles to JavaScript and runs on IE, Safari, Chrome, Firefox and Opera. VBScript didn't have a specification accepted by any standards organizations, Dart is ratified as ECMA 408. VBScript is not open source, Dart is.
The fact that Dart has been used in production years before any VM in a browser should show how different they are.
- pjmlp 12y ago> Dart compiles to JavaScript Not all language features can be represented in JavaScript. Besides, all the languages that compile to JavaScript just add complexity layers to the already complex model of HTML/CSS/JavaScript. And I bet there is a VbScript to JavaScript somewhere out there. > Dart is ratified as ECMA 408. VBScript is not open source, Dart is. Standards by themselves don't foster adoption. Eiffel, Ada, Modula-2, Extended Pascal, Common Lisp, Smalltalk, ... have ISO/ANSI standards. In the 60 - 90's being open source wasn't a requirement for multiple implementations for programming languages.
- syntern 12y agoContext: I'm using Dart for app development for two years now. > Not all language features can be represented in JavaScript. I could not name one (except the dart:io stuff, which is not supported in the JS world). Could you please elaborate? > Besides, all the languages that compile to JavaScript just add complexity layers to the already complex model of HTML/CSS/JavaScript. I've found the same, but Dart is a surprising exception. If you are not using any fancy framework (e.g. Angular.Dart), you will be just fine with the close-to-the-browser approach of the language and APIs.
- azakai 12y agoThe main example is that Dart's basic numeric types can't be represented in JavaScript. Dart VM integers are bignums, while dart2js numbers are IEEE754 doubles.
- macspoofing 12y ago>Besides, all the languages that compile to JavaScript just add complexity layers to the already complex model of HTML/CSS/JavaS Does it? Because HTML/CSS/JS development is a bit of mess to begin with (and complexity rises when you start adding micro-frameworks into the mix - and you kinda have to if your codebase gets to be a decent size). I've done some Dart web-development, and it's cleaner and nicer.