this post was submitted on 06 Apr 2024
38 points (100.0% liked)

Rust

6011 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 7 months ago

Without that caching, performance would slow to a crawl, severely impacting the production, delivery, and consumption of cat videos, phishing spam, and cryptocurrency scams. This prospect is seen as a bad thing.

lol.

But also, interesting article!

[–] onlinepersona 3 points 7 months ago

This is why I'm curious about RedoxOS. It's new, written in Rust, and has the chance to implement a different memory model without caring about a bunch of legacy code. I don't know if Linus is right and that access is context dependent (it does sound right) and maybe that distinction from atomicity by type is unnecessary, but having never written kernel nor machine code, I have no idea about that kind of stuff.

Maybe sticking to the old will work out well enough or while implementing it in Rust they'll find bugs. At least some fresh eyes will look at it during reimplementation.

Anti Commercial AI thingyCC BY-NC-SA 4.0

[–] tatterdemalion 1 points 7 months ago

I assume this means that standard library locking primitives will not be usable in the kernel? What about atomic intrinsics?