3 ms·
An interpreted language is slower than a compiled binary? Color me shocked.
by sieabahlpark 8y ago
An interpreted language is slower than a compiled binary? Color me shocked.
- hk__2 8y ago> An interpreted language is slower than a compiled binary? Color me shocked. That same benchmark shows JS code that’s 6x faster than PHP.
- barrkel 8y agoYes, but JS is faster than Ruby and Python, and indeed most of your go-to scripting options.
- anonytrary 8y agoJS has the advantage of being the thing that makes your website run faster on the screen of the user whose clicks are earning you ad dollars. JS is in a good spot.
- bufferoverflow 8y agoPHP is JIT-compiled, which helps.
- NVRM 8y agoNot always! https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/regexredux.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- igouy 8y agoFurthermore ;-) https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/regexredux-cpu.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...