What does that mean? Like... small stdlib with everything moved to extra libraries? Languages don't really have a ring 0 so I'm not sure how to read this even though it feels like a maybe-interesting take
Instead, (parts of) programs should be restricted to pure computation by denying any external resource access by default, unless explicitly approved, to the minimum they need (the principle of least authority).
See: https://en.wikipedia.org/wiki/E_(programming_language) or any of the languages listed here: https://en.wikipedia.org/wiki/Object-capability_model#Langua...
Having a microkernel OS isn't really sufficient if you want to "hollow out the attack surface", because many programs consist of hundreds of thousands of lines of code. So programs should be internally compartmentalizable as well. Only this, imported libraries being able to sandbox their imported libraries and so on recursively truly reduces the possible effects of exploits to a minimum.
One example: https://hforsten.com/redefining-the-number-2-in-python.html
Add a zillion past, present and future supply chain attacks as examples too