Re:Sussman Explains the End of SICP
by fouronnes3 on Saturday February 04, 2023 @05:05PM
(#34658887)
I've heard a joke some time ago that I can't stop thinking about: every program is either a compiler or a database. I still haven't found any counterexample.
[ Parent
| on HN ]
> every program is either a compiler or a database
or both!
Or it's just a CRUD website.
Re:Sussman Explains the End of SICP
by consilient on Sunday February 05, 2023 @06:22AM
(#34663961)
That's a user input to SQL compiler
A load balancer? Operating system kernel?
A load balancer is a compiler. Instruction scheduling and register allocation are probably the most similar tasks.
An OS kernel is a database, or rather a DBMS. Query planning fits well.
Arguably, a load balancer is a primitive query planner. Perhaps DBMSes are compilers?