← Back to context

Comment by dapperdrake

4 days ago

Now I see how it could have been confusing to read.

Cannot edit anymore so amending here:

Static liking and chroot (not as The One True Solution (TM)) but as basically Docker without Linux network namespaces.

Linux/Docker actually wound up improving things here. And they got to spend all the money on convincing the people that like advertisements.

And static linking mainly only becomes relevant (and then irrelevant again) in C because if boundaries between compilation units. SQLite throws all of this out. They call it an amalgamation (which also sounds better than a "unity build").

The tools are there. They are just overused. Look at enterprise Hello World in Java for a good laugh.

————

If your data lives in a database on another end if a unix or TCP socket, then I still don't see "NIH". The new binary self-tests and the old binary waits for a shutdown command record and drains its connections.

Kernels and databases clock in at over 5M lines of code. NIH seems like missing the point there.

And most services neither need nor have nine nines of uptime. That is usually too expensive. And always bespoke. Must be tailored to the available hardware.

Code is less portable than people believe.

Ten #ifdef directives and you are often dead on arrival.