Python or C++ for math simulations

Posted by Dramatic_Disaster837@reddit | learnprogramming | View on Reddit | 4 comments

So I've been coding for almost 9 years now, and I'd say I'm really good at it, I understand a lot of things. I'm still learning as a self-taught developer, and right now I'm in college studying math (actuarial sciences) because I genuinely love it. The thing is, I love implementing math algorithms as a hobby, reading papers, understanding them, and then simulating or creating stuff with them.

But I'm stuck between Python with Pygame and C++. I've used both and they're both great. I know C++ is faster, but Python's faster to develop in. Here's my problem though: when I use Python, I get this FOMO about not using C++ and OpenGL, because I'd really like to say I implemented something from scratch. But then when I switch to C++, I'm constantly thinking I'd be way faster doing it in Python. These are just basement projects that I genuinely enjoy, and I know there's probably something weird about this feeling, but I can't shake it.

What should I do?