News for hackers. Stuff that matters.
Re:Let's Build a Simple Interpreter, Part 1 (2015) by redpanda_ua on Monday September 12, 2016 @06:18AM (#12478447)
Wait a second, I thought .NET is interpreted? I mean take C#. Isn't it compiled to IL and then run on CLR VM? And has JIT to speed it up?

EDIT: spelling

Re:Let's Build a Simple Interpreter, Part 1 (2015) by chrisseaton on Monday September 12, 2016 @06:22AM (#12478464)
The JIT always runs - there's no interpreter, so if your need to run a method the first thing the VM does is to JIT compile it.

This has some disadvantages - you have to wait for the JIT to run and can't keep running in the interpreter while it compiles, and some advantages - it's simpler.

Re:Let's Build a Simple Interpreter, Part 1 (2015) by johncolanduoni on Monday September 12, 2016 @06:26AM (#12478480)
No, when .NET came out computers had gotten fast enough that the JIT pauses around startup were manageable, so they didn't use interpretation as a stopgap like the JVM did (which was created much earlier).