News for hackers. Stuff that matters.
Re:Loyal Opposition to Const, Private, Freeze, Non-Configura... by true_religion on Wednesday November 02, 2011 @04:03PM (#3188689)
Why not allow for C extensions to Javascript, and create a compiler capable of easy generation of these extensions with optional typing?

An example of this would be Cython for Python, which lets you get to C speed within 1 to 5% slow down due to interfacing with Python, and it has you write in a Pythonic dialect of C/C++.

Re:Loyal Opposition to Const, Private, Freeze, Non-Configura... by william42 on Wednesday November 02, 2011 @07:17PM (#3189382)
Because, all else being equal, writing your code in one language is better than writing your code in two languages.
Re:Loyal Opposition to Const, Private, Freeze, Non-Configura... by chromatic on Wednesday November 02, 2011 @08:36PM (#3189592)
Why not allow for C extensions to Javascript...

Because that's a terrible, stop-gap optimization strategy. You can't JIT over the FFI boundary without some heroic API, and distributing compiled/compilable code is quite a hassle.