Hacker News new | ask | show | jobs
by tester756 1925 days ago
Sometimes people just pick the languages they're most proficent in so they can move fast

maybe that's the case here

1 comments

Or as a “Look, you can do X in language Y, a lot of people assumed this was not possible.” Situation. Seen that a few times.
true, the first thing I thought was "wow, I didn't realize you could do this with C#"
That’s how more than a few of my projects have started. It really helps you learn the performance mechanics of a language and it’s runtime doing something like, implementing an emulator then optimizing it. Maybe not something as ambitious as a switch emulator though. I like 16 bit processors like the MSP430 :)
In my opinion this is the exact reason C# was picked. Almost everything C# is either Windows-only or Console/Server app. This is neither and that's what's interesting to me.
Many video games are written in c#. This includes pretty much all games written using unity (the most popular 3d game engine) and fna (a very popular 2d framework).
But that's an apples/oranges comparison, isn't it? C# code in Unity games is predominantly high-level game behaviour / scripting. Most of the heavy lifting is done by Unity behind the scenes. So to me it's even more impressive that an emulator for a modern games console can be written in a 'managed' language.
The heavy lifting bit of unity is also written in C#. C# has a rep for being slow which is undeserved these days.