Speaking of Rust: I talked to a Rust enthusiast the other day. She said she’s pretty satisfied with Rust’s comprehensive standard library. I was just like: “Huh?!” In my experience, you need a third-party library for pretty much anything.
Sadly, that discussion was not very fruitful, because I didn’t have any examples at hand. 🫤 So, from now on, every time I encounter something that, IMHO, should be in the standard library, I’ll add it to a list. 😅 Let’s see how long that list will get – or, who knows, maybe it’ll stay a short list because I was wrong.
@movq@www.uninformativ.de oof, rust.. Glad I put that away. I do not think I’ll ever pick that up again unless I’m getting paid to work with it.
I have a love-hate relationship with Rust. Some things are awesome, others are horrible. (And it still hasn’t managed to replace C in my personal projects …)
@movq@www.uninformativ.de I’d love to see that list in a few months 😆
@nmke-de@yarn.zn80.net I didn’t come across that one before, but it’s a good example. Apparently, there are “volatile” operations in the standard library:
https://doc.rust-lang.org/std/ptr/fn.read_volatile.html
It says:
Rust does not currently have a rigorously and formally defined memory model, so the precise semantics of what “volatile” means here is subject to change over time.
So, the language still is too young … ?