623
submitted 3 days ago by ducktumn@lemmy.zip to c/opensource@lemmy.ml

Can't escape AI slop projects from meat proxies man. Every single open source project smells like Claude Code recently. Sad times.

you are viewing a single comment's thread
view the rest of the comments
[-] lapping6596@lemmy.world -1 points 2 days ago

While my comment is about c++, not c, I did learn about one use case where rust is strictly worse than c++. Unbelievably low latency applications. Such as software that trades stocks. The way it's implemented, is by sharing memory addresses across code intentionally having the same address written to and read from across threads. Something rust is sort of designed to not support.

It's the only use case I know of where that's true.

[-] SorteKanin@feddit.dk 4 points 2 days ago

I don't know where you've heard this, but none of it is true. Rust is definitely used for low-latency trading, and that's actually one place where it really shines.

sharing memory addresses across code intentionally having the same address written to and read from across threads. Something rust is sort of designed to not support.

C++ does not "support" that either. C++ will let you write that code, but if you write code like that in C++, it's undefined behavior and trust me, no low-latency trading firm wants undefined behavior in their trading software (just imagine what could go wrong...).

Rust helps you avoid such issues. However, Rust definitely "supports" undefined behavior in the exact same way. If you want to share mutable pointers across threads and you don't give a crap about undefined behavior... I mean, that's really, really stupid but you can just write unsafe and then you can do exactly what you can do in C++ as well.

[-] lapping6596@lemmy.world 1 points 1 day ago

It's largely based on this video: https://youtu.be/QNPwKMOQIKM

Which has a quite complete list of sources.

this post was submitted on 06 Nov 2026
623 points (92.8% liked)

Open Source

50012 readers
1643 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 7 years ago
MODERATORS