Live data from Hacker News

Which programming language or compiler is faster

programming-language-benchmarks.vercel.app

11–20 of 90 posts

Re: Which programming language or compiler is faster

#12
post #7

This is a really strange benchmark to use. Compiler speed is not an issue for these 100ish line standalone benchmarks. The question is how fast it is for a million-line project or worse. I doubt c or c++ do good there with their header file includes for dependencies.

I am sure if someone contributed a million line project for every language they would be happy to benchmark it.

Re: Which programming language or compiler is faster

#13

What matters to me is incremental build time. Rarely do I compule a big program in its entirety from scratch. I don't use Unison but I would love to for this reason.

Jonathan Blow's new language compiler does not do incremental builds yet builds large projects extremely quickly (a few seconds).

Re: Which programming language or compiler is faster

#17

The faster programming language or compiler is the one you use. Always.

...I wish this were true. I'm back writing JavaScript/Typescript. The new build tools are great. Perhaps in the new year I'll convert some of these repos to build with esbuild or swc... or vite.

Re: Which programming language or compiler is faster

#19

Julia always seems to rank #1 or close to it when compared to other interpreted languages but I only ever see it used for research and math. Why doesn’t anyone use it for anything else?

I think founder effects. It started in the math and science community so that's where most of the library-writing energy has gone into.

Re: Which programming language or compiler is faster

#20

Julia always seems to rank #1 or close to it when compared to other interpreted languages but I only ever see it used for research and math. Why doesn’t anyone use it for anything else?

I think it competes with R, which has a similar usage profile
Post reply on HN