4 ms·
It does have a repl! https://github.com/evcxr/evcxr https://github.com/evcxr/evcxr Also, while cold compile times can be very slow of you have a lot of depende
by habitue 4y ago
It does have a repl! https://github.com/evcxr/evcxr https://github.com/evcxr/evcxr
Also, while cold compile times can be very slow of you have a lot of dependencies with macros etc, incremental compile time is often very fast. Rust has one of the most advanced incremental compilers out there. So for experimenting, tweaking and updating code, that's not going to have a long cycle.
- throw10920 4y agoDoes this REPL support all of the features that traditional, batch-processed Rust does? Last time I checked, I found "REPLs" for Rust that were hacks, just putting code into a file and re-compiling and re-running the whole thing - didn't support all of the features and super slow. > incremental compile time is often very fast I tried Rust a few years ago and got incremental compile times in the tens of seconds for medium-sized projects, which is excruciatingly slow. Unless compile times are sub-second, it's not fast enough, unless the REPL is somehow faster.