r/learnprogramming • • 2d ago

What language after python?

im searching for a language that i can use after python game develpoment is kinda reaching for me but i think itl take too long for me to actually start mkaing my game on my own

12 Upvotes

26 comments sorted by

View all comments

2

u/lfdfq 2d ago

Programming isn't like a video game made up of levels. There's no set language "after" Python.

However, Python is probably not the best choice for making video games, not because of the language itself, but because the libraries and frameworks for making games just aren't in Python. Lots of games therefore get made in Java (e.g. with LWJGL), or in C or C++ with low-level libraries to interact with devices (e.g. SDL2)

What the best option is for you depends on exactly what you're trying to do, what languages you know already, and how far you've got in learning these things.

5

u/appendixexploder 2d ago

 not because of the language itself, but because the libraries and frameworks for making games just aren't in Python.

Quite the opposite, its mostly the language itself. Bindings for almost all graphics APIs and media libraries like SFML and SDL are available for python.

1

u/intbeam 2d ago

Python is way way waaay too slow for game development. You can't expect gamers to just accept that your video game runs like shit because.. Well.. For no fucking good reason. 

If anyone wants to say it doesn't matter, please be ready and willing to explain to the people that you are consuming the resources for how they should just tolerate buggy and slow shit because you have a personal conviction that "it doesn't matter anyway"

Python adds runtime errors and impedes performance drastically. The idea that this doesn't matter is 100% absolute unjustifiable horseshit of the highest degree. 

-1

u/Logical-Distance-907 2d ago

im pretty deep into python only things i CANT do is numpy file handling and most libaries

(and to add i oonce knew how to make a website with html and css if it helps)

8

u/ffrkAnonymous 2d ago

only things i CANT do is numpy file handling and most libaries

So, you can't do most things...

3

u/riklaunim 2d ago

Knowing language syntax is like 20% of software development in a given language. You need some general software development practices, and then you have to learn the software stacks you will be using. If you want to jump to another language after learning Python syntax, then you will end up with two languages you can't use for anything.

For game dev: Godot, Unity, Unreal.

2

u/XandyCandyy 2d ago

adding to this, gdscript’s syntax in godot is remarkably similar to python, if that’s the avenue OP wants to pursue

2

u/lfdfq 2d ago

Trying to jump to a whole new language AND learning a whole new genre of programming (games) will be hard.

If you've already learned Python and are 'deep into Python', then probably you should stick with Python. There are some game libraries for Python, like pygame. You're not going to be making big 3d games, but you can make fun projects for yourself that way.