logoalt Hacker News

sarchertech • yesterday at 11:22 PM • 1 reply • view on HN

SQLite at its core is a compiler, and a higher level one than C, so I don’t think that’s likely.


Replies

kragen • today at 1:51 AM

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.

➕ show 1 reply