this post was submitted on 25 Feb 2025
61 points (100.0% liked)

Rust

6420 readers
81 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] onlinepersona 11 points 3 hours ago* (last edited 3 hours ago) (1 children)

Phoronix comments really are a battlefield for rust vs C. The seaheads just can't accept rust is safer and will moan about the borrow checker telling them they are doing something unsafe. Probably the same people would argue static typing is better then dynamic typing, but can't seem to see the parallels between safety guarantees at compilation time vs checking at runtime. Impressive.

More to zlib-rs: good job! RiR without bothering people is great. Just do it.

Anti Commercial-AI license

[โ€“] [email protected] 1 points 1 hour ago

There has been a zlib in Ada for many years, doing its job quietly. Speed comparable to the C version, probably not beating it, but not trailing by much in any case. Rust is safer than C but less safe than Ada from what I can tell.

Rust looks to me to be about halfway between C and C++, using implicit move semantics ("borrowing") more than C++ does, and the notorious borrow checker is simply the compiler making sure you don't make RAII mistakes because of that.

It's always seemed to me that Phoronix is too often about turning mailing list drama into clickbait. I've mostly disliked it, because of that.