News for hackers. Stuff that matters.
Re:A comparison of Rust's borrow checker to the one in C# by CharlieDigital on Thursday October 31, 2024 @07:10AM (#42005592)
There's also OneOf (https://github.com/mcintyre321/OneOf) as well which feels more ergonomic to me (having used both).

Practical example in a short write up here: https://chrlschn.dev/blog/2024/07/csharp-discriminated-union...

Re:A comparison of Rust's borrow checker to the one in C# by zigzag312 on Thursday October 31, 2024 @10:05AM (#42007048)
Isn't OneOf more like a type union, and not a tagged/discriminated union?