3 ms·
This is how I keep feedback loops short: - IntelliJ tells me any type issues instantly (I find this makes up some of the time for not having a REPL). - Small
by justsomeuser 5y ago
This is how I keep feedback loops short:
- IntelliJ tells me any type issues instantly (I find this makes up some of the time for not having a REPL).
- Small tests kind of work like a REPL.
- watch.sh running in a terminal, re-compiles and runs the code I am working on. In your web server example, I would be testing the units rather than the whole composite program. I can click file references to jump to the error.
- Fast machine (M1)
- ianpurton 5y agoI was thinking of getting an M1 just for this. Do you know how much faster it is? i.e. make a small change in code to compiled binary. As most articles for rust compilation focus on a full build which I don't need to do very often.
- justsomeuser 5y agoI upgraded from a 2014 MacBook Pro (dual core), it is at least 2x faster for both full and incremental Rust builds.