On Thursday, 27 February 2014 at 10:27:41 UTC, Timothee Cour
wrote:
A1)
Google's Dart (https://www.dartlang.org) looks like a very
promising
replacement for javascript. It can compile to javascript to
ensure
portability (but chromium runs it natively)
No, neither Chromium nor even Chrome run it natively. Only
Dartium which is a separate browser.
* cascade operations: they perform a series of operations on
the members of a single object:
foo.bar(1)..baz(3)
equivalent to:
foo.bar(1)
foo.baz(3)
In D we can use
with(foo) { bar(1); bar(3); }
Pretty close.
Dart looks like a very nice language for front-end web
development indeed. If I was doing web-dev I would choose vibe.d
+ Dart combo.
Some features like its constructors and short form of methods I
would love to see in D too.
As for compiling D to Dart I'm not sure that's feasible. You'll
have to chop off lower half of it.