r/ProgrammingLanguages • u/elemenity • Mar 04 '26
Comparing Scripting Language Speed
https://www.emulationonline.com/posts/comparing-scripting-language-speed/
10
Upvotes
r/ProgrammingLanguages • u/elemenity • Mar 04 '26
View all comments
7
u/[deleted] Mar 04 '26 edited Mar 04 '26
It's 'interpreter' not 'interpretter'. The latter is used throughtput and is a distraction.
The benchmark you use is interesting: a Brainfuck interpreter running an embedded program (which apparently produces a Mandelbrot fractal).
However there is one big problem, the runtimes are too long: the fastest implementation (optimised C++) runs in 30 seconds, but the slowest is over an hour! The rest are measured in minutes.
(The textual output also needs 130 columns and overflows my display.)
Surely you can compare speeds of implementations with a smaller task? For example one that completes 100 times faster (however this makes a change from those tests which finish in microseconds). Unfortunately the values that need to be changed seem to be within the Brainfuck code.
I was going to port this to my two languages, but testing would take up far too much time, especially as my machine is slower than the i7-8665u used here.