News for hackers. Stuff that matters.
Re:C++20 coroutines: “The bug is in the C++ standard, not GC... by dtgriscom on Tuesday October 04, 2022 @04:15PM (#33086097)
> Yes this is an unfortunate combination that results in memory leaks, but how is C's "everything is a memory leak" any better? 100% broken is better than 10% broken?

I'd rephrase "100% broken" as "always does what it says it will", and "10% broken" as "almost always does what it says it will." I'd prefer the former 99% of the time.

Re:C++20 coroutines: “The bug is in the C++ standard, not GC... by eru on Wednesday October 05, 2022 @04:57AM (#33092973)
Well, C still has plenty of undefined behaviours, that may or may not blow up on you.