News for hackers. Stuff that matters.
Re:Pointers Are More Abstract Than You Might Expect in C by beojan on Monday July 02, 2018 @08:55AM (#17441224)
> To me Rust is more a C++ replacement than a C replacement

Precisely. Rust is what C++ would be if it didn't need to be backwards compatible (though I'm not a fan of some of the syntax choices in Rust). Unfortunately, there's a reason C++ needs to retain backwards compatibility and its for that reason that Rust isn't going to replace C++ anytime soon.

> That's what they mean, they love C because you can't really do OO with it.

Until they invent GObject or one of the other OO on C libraries. The anti-C++ sentiment is more because compiler support was really quite dire until fairly recently (C++ 11).

Re:Pointers Are More Abstract Than You Might Expect in C by nine_k on Monday July 02, 2018 @12:18PM (#17442941)
The good thing about no-runtime languages is that you can mix modules written in them, within reason.

So Rust can make inroads into existing C++ code bases where it makes sense faster than we think, without replacing C++ wholesale for a long time. Firefox itsef is likely such a codebase.

Re:Pointers Are More Abstract Than You Might Expect in C by beojan on Wednesday July 04, 2018 @08:34AM (#17456874)
That's harder than you would think due to name mangling.

Basically they can only talk to each other through a C interface.