Python vs Java Speed Comparison Test 🔥

preview_player
Показать описание
A speed test between Python and Java | Count towards 1 billion!

#python #java #pythonspeed #javaprogramming
Рекомендации по теме
Комментарии
Автор

If you see this video and are confused about the results, keep in mind that Java has an optimizer that will truncate the dead loop in runtime, so the Java program didn't really count to 1e9. In the general case, Java is faster than Python mostly because Python is an interpreted language but than doesn't mean Python is slower. Often times when programming you will indirectly use some code that is designed to solve a specific task. In such cases, Python will beat Java and vice versa.

Neehize
Автор

Por que los códigos que hago en Python son más rápidos que los que hago en java con NetBeans? El problema es NetBeans

bryancamiloobandomartinez
Автор

Well...that answers that.

Thanks for all the videos.

LearnSomethingHelpful
Автор

I call bullshit as C++ takes 1-3 seconds.

Acorpl
Автор

java is much much faster than python...

cayman_islands
Автор

You gotta be stupid to try to compare the two. Python is a great language for many tasks and is a lot better than java in a lot of scenarios. You just have to know how to make it faster and trust me, you will never need to run that while to count to 1 billion, there are better ways but as long as you dont even know how to properly time the execution time it's useless to explain more.

cezartorescu