Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C# is also THE language for game developers. No other language even comes close, besides like C++


It also runs on non "Microsoft systems."

I've been writing C# for over a decade, and 99% of it has deployed in Docker containers to Linux VM's (via k8s etc).

This post seems nonsensical.


It doesn’t say you can’t, or shouldn’t, use these languages for other purposes.

Edit: nvm, see jibal’s comment below


"in my experience each time I try to use a language in the wrong domain, it's much harder and often practically infeasible."


Totally missed it, sorry!


C# is definitely popular for game development, but saying no other language comes close does not seem to be true. Looking at the most popular game engines and frameworks, it seems to be about as represented as anything else.

Game engines: Unreal - C++, Unity - C#, Godot - GDScript (Python) + second-class C# support

Frameworks: Raylib - C, Bevy - Rust, Love2D - Lua, Monogame - C#, Phaser - JS, PyGame - Python

We don't know for sure what AAA companies rolling their own engines use, but the industry standard would be written in C++, exposing C++ for programmers and Lua for non-programmers/modders.


I probably should have mentioned Lua, you’re right. The big three for game dev is C++, C#, and Lua.

C# is basically the midpoint between Lua and C++ which is why it’s so popular with game devs imo


More games are written in javascript than any other language, sad but true.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: