python vs C++

I am currently running a code using C++ (for my research)
the code is pretty complicated, it deals with FFT, matrix inversion multidimensional fitting, ..
Is it easier to convert(!) to python for that kind of programming?!
(I am using several packages for such calculations as you might guess)

I read many reviews and most of them say Python is apparantly slower than C++ for calculations, but it takes less time to develope a code in python

I would appreciate if you share your experience and knowledge about this topic.
( I registered for an online course in Python and I am going to learn it anyway!)

Thanks for your help
Last edited on
I am a newbie here so sorry if I am not much a help.

From what I know
Developing on python is most of the time faster for some
But for me it's always a yes

Yes I do develop quicker but it soon become a messed up code in my experience

I don't why but I never get used to the python syntax and error message when I used some external libraries.

So I always give up on python for the production since I never able to make good code in python. I used it only for experimental and prototyping.


From what I've read, reasearch say that python is 10-100 times slower than C++

But that's what I experience. If you really really need those functions in python just use python because 10-100x slower than C++ is still fast.

If you already have a good code base and you find nothing wrong with your C++ code -- why not just keep it? Python is easier than C++, but much slower.
Is it easier to convert(!) to python for that kind of programming?!
If you've already written everything, what would be the point of rewriting in Python?

I registered for an online course in Python and I am going to learn it anyway!
You don't even know Python? I seriously doubt it'd be easier to learn a new language and rewrite existing code for that language than to continue writing in the language you're using now.

Besides the above, I wouldn't trust a large or important project to a dynamically typed language. I really don't care at all for this kind of type system, and I think it's unfortunate that in recent years it's become more popular.
Topic archived. No new replies allowed.