News for hackers. Stuff that matters.
Re:JavaScript is Not Web Assembly by cpeterso on Wednesday September 14, 2011 @07:38PM (#2998285)
Regarding performance, have you considered CoffeeScript that generates JavaScript with (@JSDoc) type annotations that would allow Google's "Closure" compiler to further optimize and type-check the generated JavaScript?

CoffeeScript has its own optimizations and error checking, but type annotations would allow you to also leverage Google's continuing improvements to the Closure compiler.

https://code.google.com/closure/compiler/docs/js-for-compile...

Re:JavaScript is Not Web Assembly by jashkenas on Wednesday September 14, 2011 @07:40PM (#2998299)
Yep. Core CoffeeScript isn't going to pick any particular horse in the JS optimizer race, but there's a great fork that does just that:

http://www.bolinfest.com/coffee/features.html

Re:JavaScript is Not Web Assembly by cpeterso on Wednesday September 14, 2011 @08:33PM (#2998418)
Awesome! Thanks.