News for hackers. Stuff that matters.
Re:LLJS: Low-Level JavaScript by lucian1900 on Tuesday October 09, 2012 @05:31AM (#4630670)
This is actually pretty interesting. Some of the performance benefits of C (known types, little and predictable allocation) without its total lack of any safety. Syntax still sucks, but not much can be done about that while still looking like JS.

On the other hand, any runtime that infers structure (like V8 or PyPy) will make most of the performance benefits moot, leaving only predictable allocation (fewer and shorter GC pauses).

Re:LLJS: Low-Level JavaScript by tomp on Tuesday October 09, 2012 @06:39AM (#4630844)
The syntax doesn't matter; if the browsers implement something like this, it will make javascript a much more compelling target for compilers (even of fast, statically typed languages), so you can make your own syntax above it!
Re:LLJS: Low-Level JavaScript by lucian1900 on Tuesday October 09, 2012 @07:02AM (#4630891)
I meant that the syntax still has plenty of pitfalls. Compilers can already uses the same features lljs is using and just generate JS.
Re:LLJS: Low-Level JavaScript by dllthomas on Tuesday October 09, 2012 @12:53PM (#4632603)
One way in which it might actually help significantly is if it motivates coding in ways that are better structured, and the sophisticated run-times can take good advantage of this.