Hacker News new | ask | show | jobs
by KolmogorovComp 38 days ago
> I wouldn't waste my time fighting the burrow checker just so I can have a prettier program.

I understand your argument as "it's easier to botch an implementation in C++ than in Rust", which is true and that is actually an argument in favour of Rust.

I strongly believe it is harder to write a C++ implementation that is sound and does not rely on UB.

1 comments

You misunderstood my argument.

The point is, there are some domains (data-oriented programming) where Rust actively resists the kind of work you need to do to solve the problem in an optimal way, and it makes sense to use a language built around the type of memory management required.

There's no point in using Rust when 90% of your work is deactivating the benefits Rust provides and working around its default behavior.