4 ms·
How is the build system? Is it stable and easy?
by rgrs 6y ago
How is the build system? Is it stable and easy?
- steveklabnik 6y agoFor 99.9% of projects, a "cargo build" and you're done.
- mqus 6y agostable: depends on what you mean, but afaict, cargo is very stable, in both terms of interface and bugfree-ness. easy: far easier than gradle and maven, imho even easier than go. Definitely easier than cmake.
- computerphage 6y agoIn my experience, Cargo is much easier and more reliable than the systems I've used across Java/C++/Scala/Python/Go/JavaScript. It is such a pleasure to use.
- adamnemecek 6y agoThe build system and the package manager are the best of them all.
- ReactiveJelly 6y agoHere are the problems I've had with other build systems, as a noob, that I have not had with Cargo: - Having to learn weird syntax and constantly look up the reference manual (CMake) - Having to manually add source files (qmake) - Sometimes it just needs a clean and nobody knows why (Visual Studio) - Having to remember to set up debug and release builds and decide your directory layout for everything and figure out what 'a shadow build' is and who gives a crap since it all takes too much HDD space either way (qmake, CMake, make) Also having tests built-in is really nice. Rust is the only language where I bother writing tests. Everything else makes it too hard, as if entry points into your binary are supposed to be rare and expensive.