Re:Clive OS: Go applications that can run without an operati...
by alex_hitchins on Tuesday January 30, 2018 @06:53AM
(#16264561)
I'd not considered the reduced attack surface, I'd mostly been thinking of the efficiency gains. It's a very good point.
I don't think the OS is consuming a whole lot of resources on the scale of a web service. You might get some performance improvements from static linkage vs syscalls, but I'm guessing the "performance improvement" story is mostly one of latency (startup times) and not throughput.
Mostly the nice bit of getting rid of the OS is improved startup times, reduced attack surface, and an easier-to-reason-about system.
This probably impacts tooling as well--you can actually compile your entire image from source code instead of needing to fire up an instance, script changes to it, shut it down, then copy it.