4 ms·
Hmm that looks slow. Can rust support binary patching like zig or is it impossible with the current design?
by vijaybritto 6y ago
Hmm that looks slow. Can rust support binary patching like zig or is it impossible with the current design?
- pjmlp 6y agoThe biggest issue is lack of support for binary crates in cargo, so instead of pkg-config, you need to build the whole world when starting a new project. So imagine being on the waiting lobby of an airport, reading about a cool Rust project and then trying to check it on your laptop. With luck it is finished compiling before being called for boarding.
- pizza234 6y agoParent poster is referring to a full build, which are not really representative of a daily workflow. Incremental builds, in particular of a project where the large part of a full build is on external crates (which don't need to be recompiled) are much faster. I can't test on an old machine, but modifying the project code and performing an incremental (standard) build, takes around 5 seconds on a modern machine.
- mamcx 6y ago> Parent poster is referring to a full build, Yes > which are not really representative of a daily workflow. Only on Rust :). This is a "hack" that must be done to make Rust viable. In Delphi, a full compile is so fast that it's pointless to make it incremental.