News for hackers. Stuff that matters.
Re:Will Emscripten/Asm.js kill Web-Development as we know it? by bartl on Thursday March 28, 2013 @07:50AM (#5454279)
Didn't Google already write Google Apps and Google Maps in Java (or Go), and then compile it to Javascript? Because somebody at Google really doesn't like Javascript, and preferred to use something more "enterprisey".
Re:Will Emscripten/Asm.js kill Web-Development as we know it? by AndrewDucker on Thursday March 28, 2013 @07:58AM (#5454300)
Because, IIRC, trying to work on large systems with many developers doesn't work nearly as well without static typing.
Re:Will Emscripten/Asm.js kill Web-Development as we know it? by daigoba66 on Thursday March 28, 2013 @08:16AM (#5454345)
Large systems, in my opinion, generally benefit from static typing.
Re:Will Emscripten/Asm.js kill Web-Development as we know it? by PommeDeTerre on Thursday March 28, 2013 @08:13AM (#5454338)
When it comes to JavaScript, a team starts running into problems far sooner than they ever would when using C, C++, Java, C#, or more mature scripting languages like Python and even Perl.

It's not at all difficult to create maintainable, reliable code bases in the aforementioned languages with hundreds of thousands, if not millions, of lines of code. Having a proper compiler or interpreter (and not just lint-style checkers) does help a great deal. Having a sensible language to begin with also helps.

When using JavaScript, the problems start arising much, much sooner. It just doesn't offer the language features necessary for anything much beyond short scripts. An undisciplined team using JavaScript will run into problems when approaching a mere thousand lines of code. Their software will be unmaintainable if it ever manages to get into the tens of thousands of lines.

Even teams of the best, most experienced and most disciplined JavaScript developers often start running into problems once into the tens of thsouands of lines of code. After having witnessed this on many projects, it becomes clear that using some other language is the best option, even if it's converted to or compiled down to JavaScript in the end.

Re:Will Emscripten/Asm.js kill Web-Development as we know it? by dougk16 on Thursday March 28, 2013 @08:38AM (#5454404)
A little old, but here are some internal use cases for GWT at Google: https://groups.google.com/forum/m/?fromgroups#!topic/google-...

I don't think it comes down to not liking JS. JS has its uses, but you get quickly diminishing productivity returns as your application gets larger and hairier. I've actually had a project where the "M" and the "C" (of MVC) was written in GWT-able Java, and the view with JS. Right tool for each job.

Re:Will Emscripten/Asm.js kill Web-Development as we know it? by kayoone on Thursday March 28, 2013 @07:54AM (#5454290)
GWT yes, which is some pretty impressive tech but limited to Java.
Re:Will Emscripten/Asm.js kill Web-Development as we know it? by andybak on Thursday March 28, 2013 @10:59AM (#5455158)
Check out pyjs (née pyjamas): http://pyjs.org/