C# 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.
Keep in mind by turning off the GC, how have now made C# just as safe as rust, not unsafer.
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.