News for hackers. Stuff that matters.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by labrador on Thursday June 02, 2022 @10:44PM (#31603643)
People don't like to mention C# since like PHP, it has a bad rep from early days, but C# 10 and .NET 6 hit all the sweet spots people are mentioning. C# and .NET now run on Linux and Mac and compile to a single executable like Go with tree shaking so the binary is much reduced. I don't really care, but it's a shame people don't take another look at C#. When I learned Rust I was surprised how similar it felt to C#, but much more ergonomic.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by orthoxerox on Friday June 03, 2022 @07:58AM (#31607112)
Static interfaces are still in preview, DUs aren't being actively worked on, that's what I miss from Rust when I'm writing C#.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by NoGravitas on Friday June 03, 2022 @12:19PM (#31610411)
Have you used the OneOf library? It's not DUs, but it's kind of an 80% solution in that space.