Interesting and not surprising. C/C++ is the speed demon. Python is a cool language with many useful aspects to it, but when you need fast and efficiency code, you gotta stick with the OG languages
@@Ray88GC++ is lower level meaning it is closer to machine code than Python. Python is slower because there is a lot of tasks going on even if there are only a small amount of lines of code
Interesting and not surprising. C/C++ is the speed demon. Python is a cool language with many useful aspects to it, but when you need fast and efficiency code, you gotta stick with the OG languages
For sure, I mostly mix C with Python these days
bro this is so awesome im learning python in school rn great video
very cool to see c++ haha and python XD
Good job Mohammed👌
@@AbdMan28 Thank you!
Milliseconds would be useful to print for things that take less than ~10seconds
True that
How would Rust compare to C++
I have never programmed in Rust
@@moquant What is the actual reason on why C++ is so fast when compared to Python ?
@@Ray88GC++ is lower level meaning it is closer to machine code than Python. Python is slower because there is a lot of tasks going on even if there are only a small amount of lines of code
where is the source code link?
github.com/MoQuant/IV