Re:C++20 coroutines: “The bug is in the C++ standard, not GC...
by j-krieger on Tuesday October 04, 2022 @04:13PM
(#33086070)
> That's an odd statement to make here. 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?
Because if you use features that may leak memory, you can still trust yourself as a programmer. If you cant even trust the language / compiler, I would consider that worse.
> Then again, I also wish Rust hadn't added them, either
Because if you use features that may leak memory, you can still trust yourself as a programmer. If you cant even trust the language / compiler, I would consider that worse.
> Then again, I also wish Rust hadn't added them, either
I agree.