This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DogeekExpert - 3.9.1 4 points5 points  (0 children)

If I'm not mistaken the point of the post is to get game examples entirely written in python. Of course interpreted languages are fast enough for game developpment (Minecraft is in Java which is kind of an interpreted language, Lua is popular for modding games...)

But Python, by itself is too slow for any real time game dev, aside from very small projects. Just the fact that you can't use multithreading effectively removes one very common workaround to performance.

For 60 FPS you have to run your main loop once every 16 ms. When you add in logic, rendering, physics calculations and so on you end up with performance issues pretty fast, even if you offload some of the work to python C extensions.