Re:Two years of Rust
by lacampbell on Monday May 15, 2017 @06:10PM
(#14345596)
I'm no compiler writer, but presumably rust has some form of internal IR it compiles to before it gets turned into LLVM IR. Why not just write an interpreter for that layer and be done with it? The point of a REPL to me is to be responsive, not to run code amazingly quickly.
[ Parent
| on HN ]
Re:Two years of Rust
by steveklabnik on Monday May 15, 2017 @06:31PM
(#14345746)
"Miri" is named such because Rust's IR here is called MIR.
It's a relatively recent addition though.
Re:Two years of Rust
by tatterdemalion on Monday May 15, 2017 @08:04PM
(#14346308)
Yes, thats what the second point is.