Live data from Hacker News

Which programming language or compiler is faster

programming-language-benchmarks.vercel.app

1–10 of 90 posts

Re: Which programming language or compiler is faster

#6

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.

The title is a bit misleading. Its not clear if the compiler times are included, but the numbers do include the benchmark. Thats why the exact same sbcl compiler has different times.

The benchmarks are mixed with some having simd and some using threads. It'd be helpful to be able to sort submissions by threaded/unthreaded as well.

Still kinda fun to read the different languages. I found Zig was very chatty and annoying to read even compared to the C versions. The common lisp was foreign. The Fortran 90 with openmp and Julia versions were pleasant to read. The Nim version was easy to read but lacks threading or simd.

Re: Which programming language or compiler is faster

#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.

Re: Which programming language or compiler is faster

#9
post #6

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.

The title is a bit misleading. Its not clear if the compiler times are included, but the numbers do include the benchmark. Thats why the exact same sbcl compiler has different times. The benchmarks are mixed with some having simd and some using threads. It'd be helpful to be able to sort submissions by threaded/unthreaded as well. Still kinda fun to read the different languages. I found Zig was very chatty and annoyi…

[deleted]

Re: Which programming language or compiler is faster

#10
post #3

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.

Sbcl compiles itself in just a couple of minutes.

I've always enjoyed seeing how it build its components faster and faster during the bootstrap. One of those simple joys of the make process.
Post reply on HN