Ecmascript6/7 looks good - modules, classes, lexical vars etc. A more structured and possibly more optimizable language is emerging.
Could V8 target and optimize an *explicit* sane subset of ES6/7 - the new 'Good Parts'. I would happily code to such a subset via an app level pragma or META tag - especially for Chrome apps on Android and Chrome OS which utilize touch. The subset would emphasize performance and memory usage. And work effectively with the Blink engine to give fluid animations and touch. This is similar to the Dart approach but without a brand new language/runtime. Subset:: - all code in modules (and strict). - a 'main()' function - no ASI - mandatory semi-colons - frozen global, primitives frozen (via module Loader) - let/const - no var - classes with mixins/traits/extension methods - no prototype use - no arguments, use rest - for of (with keys/values/items) - no for in - eval a keyword which takes a () as an argument - removes any other weird cruft which is tricky to optimize/leads to de-optimizations Kevin -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.