2 ms·
Clean compiles do take a moment. Comparable to heavily templated C++ in my experience. On the other hand iterative development with rust analyzer going and all
by bfrog 5y ago
Clean compiles do take a moment. Comparable to heavily templated C++ in my experience.
On the other hand iterative development with rust analyzer going and all the dependencies already built is pretty painless. By the time you run your tests or program, it's likely to take only a few seconds to build.
That said you can write terribly long to compile rust. Usually there's some trades you can make to weigh compile time as more important than flexibility or static code paths.
I've written a sizeable ad server in rust with maybe 25kloc. Where I was the sole developer and sys ops person, it cost me a little upfront time but saved me many more hours in operations work.
- capableweb 5y agoI guess by in general a "dynamic programming languages" fan, "only a few seconds to build" already sounds like a lot. Different tradeoffs I guess, but hard to justify when you're used to ms compile time.