3 ms·
C# cannot have a memory leak? We're using very different definitions of those words, I guess. https://slashdot.org/story/07/11/17/0552247/c-memory-leak-torped
by VikingCoder 4y ago
C# cannot have a memory leak?
We're using very different definitions of those words, I guess.
https://slashdot.org/story/07/11/17/0552247/c-memory-leak-torpedoed-princetons-darpa-chances https://slashdot.org/story/07/11/17/0552247/c-memory-leak-to...
- 3a2d29 4y agoC# allows you to tune the GC, which I believe was the cause of that issue. Keep in mind by turning off the GC, how have now made C# just as safe as rust, not unsafer.
- VikingCoder 4y agoI think that one was actually circular references in event handlers...
- 3a2d29 4y agoI don’t think so, but I can’t find the answer. Either way, rust 100% does that. Way easier in C# to avoid that issue. Just don’t use reference counters and use GC. No way to avoid that in Rust. If you need many references, you must use ARC.