News for hackers. Stuff that matters.
Re:The Green Side of the Lua by heijmans on Thursday May 28, 2026 @07:18AM (#48307383)
We are talking about the benchmark game here. The code for different languages was written by different programmers. For some languages, there were multiple implementations and many iterations. In this case, the researchers used the fastest one.

Some of the implementations are extremely optimized and took a lot of effort. Some implementations are not. So you might be comparing highly optimized JavaScript code with naive, below-average TypeScript code. You cannot compare those.

It would be much better if they used the same level of optimization for each language, but they didn't. Furthermore it is called a "Game" (it used to be called a "Shoot-out") because you shouldn't take it seriously. So it shouldn't be the basis of serious research.

Re:The Green Side of the Lua by Capricorn2481 on Saturday May 30, 2026 @03:17PM (#48339711)
I'm confused because there is no Typescript on the benchmark games that I can see. So what are they even using for Typescript here?