View Single Post
Posts: 307 | Thanked: 157 times | Joined on Jul 2009 @ Illinois, USA
#1376
Originally Posted by zwer View Post
No matter how good VM you build, no matter how optimized its JIT pathways are, you can't beat native execution.
Actually, you can. Its all natively executed eventually, but obviously the JIT takes more time to get bytecode into native machine code.

That said a JIT language can be designed to be safe at compile time. This means it can run in ring 0 with the kernel itself. No slow context changes means a good JIT language can be FASTER than one written in C++ or even assembly possibly.