News for hackers. Stuff that matters.
Re:Emulating Nintendo Switch Games on Linux by asveikau on Friday July 24, 2020 @07:18PM (#23945470)
At least C# has things like the struct keyword to prevent heap allocations for simple data structures. I don't know if recent Java has caught up with this, but it was one of the innovative features MS came up with for .NET to avoid unnecessary overhead.

I feel like it's possible to write careful C# for performance. It just won't be entirely idiomatic. Things like buffer re-use, ordinary techniques you'd need to apply manually for C and C++ in similar domains too.

Re:Emulating Nintendo Switch Games on Linux by to11mtm on Saturday July 25, 2020 @11:09AM (#23949744)
A large part of C#'s advancements are that additional abstractions have been added in .NET Core to make at least some of those concepts a bit more idiomatic, especially around passing segments of memory around.