Yarn

Recent twts in reply to #nlo75va

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.

⤋ Read More

@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 … ?

⤋ Read More

Participate

Login to join in on this yarn.