News for hackers. Stuff that matters.
Re:A Few More Reasons Rust Compiles Slowly by YorickPeterse on Monday June 29, 2020 @03:18PM (#23681378)
To illustrate, let's take the following VM code: https://gitlab.com/inko-lang/inko/-/tree/master/vm. This VM consists of 18 262 lines of code, including VM tests.

An incremental release build where nothing has changed (I just ran `touch src/lib.rs`) takes 25 seconds. Compiling the VM from scratch including all dependencies takes 1 minute and 28 seconds.

That's not too bad, but it could (and in my opinion should be) much better. Debug builds are usually faster to compile, but tend to run too slowly to be useful for anything but debugging some VM bug.

There are no comments on this comment yet.