News for hackers. Stuff that matters.
Re:Why Go and Not Rust? by Const-me on Tuesday September 17, 2019 @02:49AM (#20992368)
> c# doesn't have anything like weak pointers

https://docs.microsoft.com/en-us/dotnet/api/system.weakrefer...

https://docs.microsoft.com/en-us/dotnet/api/system.weakrefer...

https://docs.microsoft.com/en-us/dotnet/api/system.runtime.c...

> event handlers require that you manually dispose of half your objects.

You probably have software design issue on your day job. C# events can be great, but they're not a silver bullet.

For loosely coupled application wide events, event aggregator pattern works better, see IEventAggregator from Caliburn.Micro for an example.

If the two sides of the event handlers need strong coupling for a good reason, an interface or abstract class for the consumer works better, see ExpressionVisitor from System.Linq.Expressions for an example.

Re:Why Go and Not Rust? by pjmlp on Tuesday September 17, 2019 @03:13AM (#20992501)
You forgot to add safe handles as well.

https://docs.microsoft.com/en-us/dotnet/api/system.runtime.i...

This and the the thread of the other day regarding having to use C for what C# is capable of, apparently many don't look on their toolboxes.