Re:Announcing Rust 1.7
by tatterdemalion on Thursday March 03, 2016 @04:41PM
(#11220273)
As a vim user I can attest to this. Rust tooling is better for me than any other language I have ever used. Only thing I ever wish for is a REPL, which is a big ask for a language like Rust.
[ Parent
| on HN ]
While it's not official, rusti[1] by murarth is a functioning Rust REPL. IIRC, it's used to drive the Rust Playground[2] (don't quote me on that).
[1]: https://github.com/murarth/rusti [2]: https://play.rust-lang.org/
Re:Announcing Rust 1.7
by tatterdemalion on Thursday March 03, 2016 @05:30PM
(#11220570)
Rusti isn't 'there yet,' unfortunately. It is forced to recompile the entire project for every line entered. Aa far as I know I also can't do things like set 'breakpoints' that will pause execution and drop me into the REPL, like Ruby's binding.pry.
This is a very hard feature for compiled languages, its just a con of this execution model (which is has a lot of pros).