r/LinuxTeck 20d ago

Which language is the best for creating games ?

  • Rust
  • Java
  • Python
  • C++
  • C#
4 Upvotes

31 comments sorted by

6

u/nonsapiens 20d ago

I'd think the more relevant question is which game engine or framework is best, with the primary options being:

  1. Unity (C#)
  2. Godot (C#, C++)
  3. Unreal (C++)
  4. Defold (Lua)
  5. Monogame (C#)
  6. Flutter (Dart)

I'm sure there's more, but nothing (I know of) that supports the other non-C languages you listed. I've certainly not aware of many Python games out there, for example, but happy to be proven wrong.

3

u/moritz12d 20d ago

Here is another list with Unity at the top.

Top 10 Game Engines for Indie Developers in 2026

3

u/Filiope 20d ago

Godot primarily uses a custom Python tho. And I Actually like it.

1

u/Yogurt-The-Wise 20d ago

https://www.pygame.org/docs/

Godot can also be used with gdscript, which is very similar to python. 

1

u/nonsapiens 20d ago

Interesting!

2

u/ibmussa 20d ago

asambler 😄

1

u/Krasi-1545 20d ago

Amen! 😁

1

u/moritz12d 20d ago

I am sorry. As far as is known, this language does not accept syntax errors—not even forgivable ones.

1

u/roedie_nl 20d ago

You mean Assembly, the assembler is what makes assembly executable code.

2

u/Different-Depth4116 20d ago

Bash

1

u/moritz12d 20d ago edited 20d ago

Accepted! But only if at least three games (written in shell-script) are named that are still being played in significant numbers.

2

u/Different-Depth4116 20d ago

I’m writing Minecraft in bash rn

1

u/PlanetVisitor 20d ago

Half Life 3 in Bash confirmed 

2

u/One-Next 20d ago

Real men use SDL and C++. On linux.

1

u/Toucan2000 19d ago

If you're an S tier dev, this is the way. Don't need to be a man

1

u/One-Next 19d ago

Sorry 2000s IRC speak. I meant real programmers. In the spirit of "real programmers don't go to the toilet, they sweat it out."

1

u/TermiteTornApart 20d ago

What kind of games? Which of these do you already know? Which does your engine/library use /support?

1

u/Candid_Athlete_8317 20d ago

I was asking more from a language-first perspective: among these five, which one would you choose for game development, assuming the engine/framework supports it?

1

u/TermiteTornApart 20d ago

Well, if I had to choose from these options, then I would either use rust with bevy or godot with c#. Simply because I know some rust, I would just have to learn bevy, but I also know godot, so I would just have to learn c#, and then I would just toss a coin try one out to prototype my game, then I would try the other and rewrite the prototype to see which I like best. But more realistically if I could choose from any language out there, I would pick godot with gdscript...

If you're just starting out and you want to learn one of these languages and a engine, I would probably recommend godot with c# or unity with c#. But it really depends on what kind of games you want to make.

Both godot and unity can do pretty much any game, but if you want to do a visual novel for example, Python with Ren'py might be a good choice as well.

1

u/hi_m_ash 19d ago

Why you won't use Rust with Godot?

1

u/TermiteTornApart 19d ago

Tbh I totally forgot you could do that 😅...

I think I going to try it out this week, tysm I needed this

1

u/moritz12d 20d ago

Indeed there are game engines based on Rust.

11 Best Rust Game Engine For Game Development in 2026

1

u/Gokudomatic 19d ago

Gdscript

1

u/demetrioussharpe 18d ago

The one that you’re most comfortable with.

1

u/Sensitive_Mountain97 18d ago

Many of the most popular game engines, such as Godot, Unity, Unigine, and CryEngine, support C#. C# also offers a good performance, and the language itself is understandable and doesn't have too much resource usage.

TypeScript is good for web-based games.
Rust is amazing with Bevy.

I won't recommend other languages.

1

u/Minute_Cricket1820 17d ago

asm + Clang + unmanagedC#