4 ms·
Given that some of the most commonly used external libraries do networking, IO, graphics and encryption, I don't think this would really be feasible.
by tsimionescu 7y ago
Given that some of the most commonly used external libraries do networking, IO, graphics and encryption, I don't think this would really be feasible.
- nostrademons 7y agoPresumably they'd have to be rewritten, but if you're talking a new OS anyway everything's gotten be rewritten, because you won't have the standard UNIX syscalls. This is not something to embark on lightly, which is why I haven't embarked on it yet. But imagine a future where using a traditional OS means there's close to a 100% chance that you will have your identity and/or financial assets stolen, or where these computers are widely used in the military and a security failure literally means you're dead. We're headed there anyway, judging from all the headlines on data breaches and identity theft. There'll be system failure at that point, as well as a strong incentive to rewrite everything as a secure system.
- zzzcpan 7y agoIt's feasible in the same way bounds checking is feasible. Everything could have a capability token attached to it and checked. Compiler could generate all the language level checks, kernel could do OS level checks. Main program could have some built in capabilities and capabilities it gets from the other OS processes, it could then pass them or devise new ones to library functions, they could pass them to other library functions and so on.
- sansnomme 7y agoBut that means you have to upload raw source code. It's closer to Apple's app store deployment than to what current cloud hosting offers (arbitrary compute power for anything but crypto mining).
- zzzcpan 7y agoNot necessarily raw source code, could be a code compiled into an intermediate representation, but it has to have capability-based security deeply integrated into it, like bounds checking is into programming languages.
- sedachv 7y ago> But that means you have to upload raw source code. And what is wrong with that? JavaScript source-code-only is by orders of magnitude the most popular and successful software distribution method.