|
|
|
|
|
by IshKebab
20 days ago
|
|
> You are seldom compiling the world from scratch. True in Rust too though - you're normally doing incremental compiles. And even though you're compiling the world, it's still on par with C++. For example I just tried compiling a hello world Bevy project, which has 462 crate dependencies - pretty big. It took 2m20. Totally reasonable to build an entire game engine and all it's dependencies. I wish they had reported the compile time of Bun before/after the Rust port - that would have been very interesting. |
|
Same applies to most commercial libraries, where code is usually provided for debugging purposes, not for building everything from scratch.
Also incremental linking on Rust, or hot code reloading is still not something that works out of the box.
How beefy is that machine to achieve 2m20? I started using C++ on MS-DOS, on a 20 MHz 386SX PC with 2MB RAM and 20 MB HDD.
Especially relevant in current times.