by YankeeYahoo · 1d ago · 0 comments
I've had occasional issues with building Rust packages, but it's been rare and for specific reasons; Arduino code that was clearly marked as only having experimental LLVM support, a time when I messed up my system paths and broke GCC in general, etc. I wish Rust's Embassy had examples that didn't rely on being in its git repo, but I was able to migrate a project out with two hours of work.
Compare that with trying to compile C++ code and the difference in night and day. The only non-library C++ projects I've had build without much issue are SDL2/3 examples and the occasional open-source game like Endless Sky. Everything else, especially if it relies on a semi-proprietary library? A day or two of fighting with build systems with occasional fights after that.
I had one professional project I was working on where someone buried an '--as-needed' flag in a CMake file that got installed in custom SDK code, so nobody could figure out how to link any sort of .so into the project. Of course, the idiots who made that solution also had Eclipse projects using CMake to generate new Eclipse projects filled with autogenerated code. The fact that the C++ ecosystem even allows those sorts of shenanigans is its own level of red flag.
No comments yet.