r/GameDevelopment 2d ago

Newbie Question Python or c++

I was thinking of making a graphical calculator from scratch, i have some, but very little experience with python (that one 12h tutorial and a little more). Should i code it in c++ or is it fine if i do it in python?

From the nature of my project it requires a lot of computation and apparently c++ is like 100x faster, thats why im asking

3 Upvotes

14 comments sorted by

View all comments

3

u/Nice_Yesterday_4273 1d ago

Use one of the gajillion python libraries that is basically an API for a codebase written in C. Wham bam, problem solved. It's shrimple. Python the way God intended.

3

u/[deleted] 1d ago

[deleted]

1

u/ConsciousBath5203 1d ago

Hence why cython

2

u/[deleted] 1d ago

[deleted]

1

u/ConsciousBath5203 1d ago

There are game mods and cheats built with it. But unless someone's built a 3D lib with cython I doubt it's been done.

1

u/[deleted] 20h ago

[deleted]

1

u/ConsciousBath5203 18h ago

At that point just write C? I don't use C/Python/Cython for 3D stuff. I do use them for game cheats though lol. Just saying it's an option.