logoalt Hacker News

kragen • today at 1:51 AM • 1 reply • view on HN

It's compiling a much more tractable language, and most of the complexity in a production C compiler is in the optimizations. C being a lower-level language might make it easier to write a bad compiler for, but it makes it harder to write a good compiler. Take a look at a SQLite query plan sometime and compare it to the assembly output of gcc -O.


Replies

sarchertech • today at 2:32 AM

They don’t have to produce an optimizing compiler to claim a win though.

➕ show 1 reply