Answer the question
In order to leave comments, you need to log in
Is it possible to write a game server in Python?
Hello. I do backend development in Python(Django, Flask) and in my spare time I write an indie game for Android/iOS using Unreal Engine(C++). The game will be multiplayer, so the question arose of what to write the server on. I don’t really want to use C / C ++, because the development speed is very low. Actually, is Python suitable for this, or is it better to learn something like Go or maybe Java / C #? I won’t say about the loads, it depends on whether they play, but I don’t want to rewrite later. Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Since Python is for highly loaded projects and not only, it is certainly possible.
As you noticed, writing speed is important, but it is better to write the server in C ++ because it is faster than Python and therefore the response will be faster. In principle, if your audience is not super large, then Python, and if in the future it is not small, then write in C ++.
PS chat in World of Tanks is written in Python.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question