by qalmakka · 3w ago · 0 comments
Option Z) Everyone vibe codes their own custom OS. Each implements and exposes only what they want. Hacker has to beat up on it online to find vulnerabilities. He finds one and he only owns that one machine.
There's probably some middle ground between A and Z, but monocultures are fragile. All eggs in one basket, potato famines, banana fungus, etc...
If the host's network driver is hacked, all userland is stolen too.
Also this is like the worst case where the bug is in one monolithic piece of sw. Something like the alpine ssh bug is more relevant, you can plainly see not all systems are effected.
Someone more qualified than me can speak to isolating device drivers. I do know that one of the virtues of microkernels was supposed to be that you can run drivers unprivileged.
Sarcasm? Definitely not true, by several orders of magnitude. Have you seen how many built-in functions PHP has?
(Better yet, just regular code it!)
Starting work on a Scheme thing now.
Option A is the best practices status quo for a lot of people. "Don't waste time and money reinventing the wheel", "Given enough eyes, all bugs are shallow", etc...
But Option Z is becoming cheap and fast, and given all the eyes, there still seem to be a lot of bugs in Option A.
Maybe it's better to tolerate a few bugs so long as it's not the same bug on everyone's computer.
Maybe you have fewer bugs if you aren't supporting 50 years of backwards compatibility.
Maybe the economics and risks change for the hacker when he can't find bugs offline.
Maybe we should appreciate people researching how to vibe code containers and kernels.
So it can very well be worst of bith worlds, worse security on actually homogeneous systems.
soon after that, the laid-off hackers become the next builders :)
circles. revolutions. until its learned to see whats ahead, then it can be diverted to something new
For security, GVisor is probably the most widely used userspace-kernel. A userspace kernel may also boot faster and use less resources as it can offload a lot of work to the host (FS drivers etc.)