Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Most are remarkably performant in the vast majority of cases.

If your metric is based on execution time, then this might be true. Many programs are faster enough where the user doesn't care, or the impact on the overall execution time is slight.

But, if your metric is compared to other languages, this is measurably false [1]. Even Python emulated in the browser is faster than CPython in many cases [2]. And, this doesn't really give a complete picture, since many CPython libraries don't actually use Python, because pure python implementations of most anything are too slow. They use python as glue to call out to compiled libraries. But, this is also the main use case of CPython: glue for not Python.

1. Python always near the bottom. See other problems too: https://programming-language-benchmarks.vercel.app/problem/b...

2. Brython benchmarks: https://brython.info/speed_results.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: