DEV Community

Discussion on: Thoughts on interpreted vs compiled languages?

Collapse
 
rhymes profile image
rhymes

Other examples of JITs: PyPy for Python, LuaJIT for Lua, CLR for all .NET languages...

(yes I know about gopherJS, dartto js and webassembly, but they are not there yet ..).

I think only WebAssembly has a shot, in the sense that there's no replacing JS for the time being. What you can do is to hit JS pain points, on one side with better language constructs going forward (pipeline operator is smooth), typescript for those wanting type checking and WebAssembly to increase performance (I can see libraries used by Node and client side JS being written in whatever language which then generates WebAssembly). I don't think people will start overnight throwing away JS tooling and knowledge and start using server side languages to write SPAs. Maybe in time, who knows.

Honorable mention: JVM, that beast beats the law of physics, a JIT shouldn't be that fast.

Well, it's the result of millions of dollars in research by multiple complanies and millions of man hours. It better be fast ;D

A downside of JITs: they suck if startup time is an issue.