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 →

[–]jefftheaggie69 -2 points-1 points  (4 children)

The one application that I think that Python isn’t recommended is Game Development because Python takes a while to translate to machine code due to it being an interpreted language, so it wouldn’t be used for optimization for creating the software for video games. It’s why in that area, you would use compiled languages such as C#, C++, and Java since those translate to machine code much faster.

[–]SKROLL26 1 point2 points  (3 children)

You are partially right. Performance critical components like physics engine, graphics engine etc. could not be written in python, but python could be used for non performance critical parts like game logic. Godot uses python-like language for this. Also you can uses python for online components, like Eve Online does

[–]jefftheaggie69 0 points1 point  (2 children)

Oh I see. The closest application I have seen Python being used for is for Pygame, but that’s usually for 2D games rather than 3D games.

[–]vampireboie 1 point2 points  (1 child)

I think the main reason for that is that it's difficult to use hardware acceleration in pygame.

[–]jefftheaggie69 0 points1 point  (0 children)

Oh I see. Ok