News for hackers. Stuff that matters.
Re:Thoughts on Go vs. Rust vs. Zig by disappoint on Friday December 05, 2025 @02:52AM (#46157796)
Shold one compare Rust with C or Rust with C++? Modern C++ provides a lot of features that makes this topic easier, also when programs scale up in size, similar to Rust. Yet without requirements like no universal aliasing. And that despite all the issues of C++.

> Even if we accept the premise that unsafe Rust is harder than C (which frankly is ludicrous on the face of it)

It clearly is not ludicrous, but true, as you well know.

> we’re talking about a tiny fraction of the overall code of Rust programs in the wild.

Which is wrong, also because unsafe Rust can require way more validation of code than just the unsafe blocks themselves. Do you not know or understand the basics of unsafe Rust? If so, that counts both against you and even further against Rust. Know your language!

> With all due respect this may be the singular dumbest argument I’ve ever had the displeasure of participating in on Hacker News.

You are describing yourself, and you are the source of that, and your arguments regarding the blog posts of famous developers are severely lacking. You clearly have no shame, no honesty, nor any competence.

Re:Thoughts on Go vs. Rust vs. Zig by aw1621107 on Friday December 05, 2025 @06:01AM (#46159658)
> Shold one compare Rust with C or Rust with C++?

Well, you're the one asking for a comparison with C, and this subthread is generally comparing against C, so you tell us.

> Modern C++ provides a lot of features that makes this topic easier, also when programs scale up in size, similar to Rust. Yet without requirements like no universal aliasing. And that despite all the issues of C++.

Well yes, the latter is the tradeoff for the former. Nothing surprising there.

Unfortunately even modern C++ doesn't have good solutions for the hardest problems Rust tackles (yet?), but some improvement is certainly more welcome than no improvement.

> Which is wrong

Is it? Would you be able to show evidence to prove such a claim?