4 ms·
JavaScript is turing complete. That's not a very meaningful limit. You seem to be implying Dart's semantics are influenced by JavaScript's because it compiles
by tree_of_item 13y ago
JavaScript is turing complete. That's not a very meaningful limit.
You seem to be implying Dart's semantics are influenced by JavaScript's because it compiles to it, but that's not the case. It's true for CoffeeScript because CoffeeScript doesn't try to add semantics to JavaScript, it's just a syntactic translation.
Yes, there is an aspect of "works best in Chrome" performance-wise, since Dart VM will be faster than dart2js, but if you were sold on Dart before hearing about dart2js, I don't know why that would make you change your mind. You were hoping for a JavaScript replacement, and Dart is exactly that. Compiling to JavaScript is just something to ease the transition.