Python vs C speed test

preview_player
Показать описание
simple execution speed test between python and
Algorithm Used : Ackermann function

this is just an estimation and the test has been done just for fun.

what i think : python is faster to code but c runs faster than python.

#python #c #programming #coding
Рекомендации по теме
Комментарии
Автор

This is an unfair comparison, comparing a compiled language down to native binary executable to an interpreted language 🙂. I'm not a python fan due to it's dynamic type system, but this is unfair!

saidooubella
Автор

What do the different times mean ? "real / user / sys " - What does it tell the programmer?

NSEE-shxh
Автор

this means that recursive algorithms in pythons (source code - NOT in imported modules) - are to be avoided ?

calintimis
Автор

In python it doest just run it but also compiles it to bytecode before that
So this is not a performance test

ayanvaidya
Автор

Never use python to build an os or game the uer will experience latency

FrostGamingHype