News for hackers. Stuff that matters.
Re:Performance comparison: counting words in Python, C/C++, ... by bhauer on Sunday July 24, 2022 @01:14PM (#32215505)
I only skimmed the article, but I suspect they are including the time necessary to spin up the executable and any runtime environment prior to executing the relevant code.

"Lightning fast" can mean a lot of things, and it might not mean "executables start quickly."

Re:Performance comparison: counting words in Python, C/C++, ... by crummy on Monday July 25, 2022 @05:55AM (#32222406)
If that were the case, that makes Java's results fairly impressive, given the JVM's slow start time.
Re:Performance comparison: counting words in Python, C/C++, ... by igouy on Monday July 25, 2022 @01:41PM (#32228053)
Maybe for tiny tiny programs "the JVM's slow start time" is only a few tenths of a second?

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Re:Performance comparison: counting words in Python, C/C++, ... by bornfreddy on Monday July 25, 2022 @02:40AM (#32221220)
If that is the case, it would explain why python is so slow. In my experience the runtime speed of python is good enough for most purposes, but startup time is definitely slow.
Re:Performance comparison: counting words in Python, C/C++, ... by saagarjha on Monday July 25, 2022 @12:55AM (#32220602)
Swift executables start fairly quickly.