News for hackers. Stuff that matters.
Re:Polymorphic Types in C [pdf] by phkahler on Thursday January 18, 2024 @12:40PM (#39044794)
>> At least in C there's a possibility to learn from C++'s mistakes, and only integrate the 'good parts

That's what Rust looked like in the beginning - a better C++. But that seems to be getting corrupted by a bunch of language designers too now.

Re:Polymorphic Types in C [pdf] by sigsev_251 on Thursday January 18, 2024 @12:51PM (#39044937)
Curious, why do you think Rust does not look like a better C++ (in the sense of not making the mistakes of it)? Is there something you find impractical?
Re:Polymorphic Types in C [pdf] by phkahler on Thursday January 18, 2024 @01:01PM (#39045096)
It still does look like a better C++, but I think it's being extended way too fast and might suffer the same shitificantion if they don't stop it.
Re:Polymorphic Types in C [pdf] by logicprog on Thursday January 18, 2024 @01:56PM (#39046009)
Yeah, I'm a huge Rust fan, but some of the decisions they've been making with the newer RFCs, especially around things like convenience syntax, and the fact that they now have async/await and neutered coroutines, instead of having proper coroutines capable of doing both ala Kotlin, among other things, seem really iffy to me. I'm afraid it'll turn into Scala or something soon, with a huge bag of redundant or partially overlapping features.