logoalt Hacker News

graemepyesterday at 8:12 PM4 repliesview on HN

> when it comes to compilation I can't think of anything faster.

What languages compile fastest?


Replies

levodelellisyesterday at 9:22 PM

IIRC go wasn't that fast but can feel like it in vscode. IIRC vscode compiles go using the lsp which is faster than launching a process because for some reason, vscode stalls for a second or more before launching a process.

I can't remember how fast D was but iirc it was fairly fast. Actual fastest is my compiler which I don't work on anymore and isn't ready for production. It's the only compiler I know of that hit millions of lines <1s in a non trivial language https://bolinlang.com/

tmtvlyesterday at 9:33 PM

Not every compiled language has a de facto standard compiler, but with SBCL Common Lisp compiles pretty quickly. The Pascals (and Delphi) also tend to have rather fast compile times. I believe Jai is supposed to compile quickly but I'm not in the beta so I don't know. C can be quite good if you know what you're doing and use a decent compiler.

gfodyyesterday at 9:12 PM

nothings faster than turbo pascal

arcologies1985yesterday at 8:15 PM

Rust can be up there with C depending on the project.

show 2 replies