News for hackers. Stuff that matters.
Re:Learning C# and .NET after two decades of programming by neonsunset on Wednesday March 05, 2025 @11:48AM (#43269055)
Struct generics in C# are monomorphized - exact same as in Rust.

Combine that with pattern matching and you can go quite far. In place of macros you can use source generators, although they are both weaker and stronger than proc macro depending on what you use them for.

There are no comments on this comment yet.