|
|
|
|
|
by jacquesm
3347 days ago
|
|
> Is it theoretically impossible to fit an interpreter for a dynamic programming language in the L1 cache of a modern chip? I'm pretty sure Chuck Moore (yes, he's still around) would be able to fit the interpreter and an entire OS into the L1 cache with room to spare. Forth technically is an interpreter. |
|
As you imply, the interpreter will be dwarfed by the code needed to talk to the rest of the OS. As an aside, this is why I was initially very excited about the JVM when Java first came around. Compiling down to a FORTH style language should give you pretty impressive benefits.
Virtual machines were very popular for a long time, but I'm not entirely convinced that we've really pushed the concept as far as it can go.