by api · 3y ago · 0 comments
Has there been a breaking change in the past few years?
At the same time, Rust has grown to a large and complex thing and deserves a large update to make it more dev friendly (what C++ did years ago). I expect at least one big update before it can settle.
Please try this:
1. Install rustup on a clean Ubuntu 22.04 x64
2. Open the rust embedded book, go to the getting started chapter
3. Try the first part
Early in the tutorial "cargo install cargo-geneate" will gail due to E0282 in git-glob...
No such "dead trees tome" exists. ISO will explicitly point out that what you're spending an eye-watering sum of money on is just a PDF.
Some of the National Bodies will tell you that you can buy this document on paper, but what they're actually doing is contracting out to a local Print On Demand service which either didn't tell them it has a document size limit or they didn't listen.
If you splash out anyway eventually what you'll get in the post, instead of your imaginary tome is a CD with the PDF on it.
> that everyone should certify their compilers against.
Try for a moment to imagine that all the GCC and Clang volunteers own legal copies of the actual ISO document. Now, stop laughing and read. Nobody cares about the actual document, in 1998 there really were academic libraries who bought C++ 98, and they might still have C++ 98, but that's a 25 year old document. Today those libraries would tell an interested user, "I'm pretty sure this is online, go away and search" and they'd be correct.
Because it's a PDF not a paper document, ISO C++ is a moving target, what's stable about that?
One of the few things about C++ that I unambiguously admire is std::format() introduced in C++ 20 -- but actually the most important feature of std::format() wasn't in the published C++ 20 ISO document, it's an erratum, pasted in much later because it's obviously needed.