General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Pottenger\x27s Human
The Lunduke Journal
comments
Comments by "Pottenger\x27s Human" (@LTPottenger) on "Python is 71x Slower, Uses 75x More Energy, Than C" video.
It uses less memory
3
Pascal has simple modules which makes it waste less memory. C is not as good and can bloat up. C++ really bloats like crazy especially with programmers who don't know what they're doing which is most of them. I think you could get faster than C in C++ if you make the effort and have discipline and even faster with a little asm here and there but in practice if you import a bunch of garbage libraries and have a large project with many modules you will be not 1.5x slower but more like 3-4x slower than C. And since you are forced to use libraries to get anything done you can only do so much. I'm a little surprised java is only 2x slower than C which is amazing. Java is a great language and the JRE is super optimized though. Funny because this is a situation where on a large project the C++ project is probably 2x slower than C. Or even 3x or 4x. Making it slower than a Java app. Crazy! Don't know much about Rust but maybe I will look into it. Pyhton and Ruby are both POS in every way so no surprises. If you want to script just use perl,
2