I've only now found this: "[Caja] Fwd: "Future of Javascript" doc from our 
internal "JavaScript Summit" last week"
http://markmail.org/message/uro3jtoitlmq6x7t

Wow... just wow. Google is really gonna replace Javascript (long-term). Some 
highlights:

- Translation to Javascript to make it compatible with all browsers; but of 
course, a browser that has a VM optimized for Dart will run it directly and 
faster. I guess the Dart VM will be an evolution of V8 (unified Dart + JS 
support).
- "Optionally typed". Very curious to know about the details - will code 
without type annotations be still statically typed in the extent that's 
possible (with inference), or the language will have a full dynamic-typed 
nature including metaprogramming? Is some kind of parametric polymorphism 
(generics) supported? Are prototypes or similar constructs on the way out, 
i.e. class-based OO?
- "Designed for performance", and will have a richer typesystem (the 
document typically criticizes JS for its single Number type). IMHO this 
pretty much finishes the discussion about whether Javascript can become fast 
enough to be a first-class language for CPU-intensive code: V8 is clearly 
the top JS VM today, and here we have the V8 team basically admitting that 
there's only so much they can do with a language that is not "designed for 
performance". Color me unsurprised... ;-)
- Like I expected though, web applications (in this case client-side i.e. in 
browser) will be only the first major usage scenario. Dart will eventually 
be available for the server-side too, and even for Android.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/javaposse/-/Ynzr-eRnWC0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to