Porting third-party programs to TempleOS
blog.jwhitham.org
blog.jwhitham.org
https://www.reddit.com/r/programming/comments/3cd4sn/somebod...
TempleOS would qualify in some ways as Outsider Art[0]. I wonder how many such "outsider"/"alien" projects there are out there...
http://www.templeos.org/TempleOS.html is a good explanation of the point and purpose of the project, one which is reasonable and makes perfect sense. It explains why a TempleOS machine should not ever run unchecked third-party programs (let alone be on any kind of network), but could be an excellent OS to use on a remote abandoned island.
And web browsers seemed to take off before Windows NT was the more popular desktop kernel.
* No possibility of a secure experience via strict privilege separation (e.g. strict usage of multiple account, inconvenient but protects against alteration of personal data)
* A ring0 program has unfettered access to the hardware, so the machine itself may be compromised, a breach is not "format & reinstall" let alone "run a bunch of antiviruses" it's possibly "throw the whole machine into the bin and buy a new one".
> And web browsers seemed to take off before Windows NT was the more popular desktop kernel.
Windows 98 didn't run in ring0. It was crap, but not that crap.
Given full access to the hardware, it's possible (though I haven't tested it to be certain) to flash the BIOS. The machine could be bricked by a remote exploit.
Or the firmware in hardware parts. An attacker with the know-how can not only brick but control your GPU or SSD.
That's the difference. TempleOS has no access restrictions. It's not intended for either multiple users or networking so it really hasn't got even basic security e.g. processes having separate address spaces.
For all that, it's still pretty impressive but it wouldn't be suitable for a general purpose OS for most people.
I have no idea if it's something that Terry has thought about but, from what I've read, it's just not a priority: he's been writing a single-user, network isolated system.
So I imagine someone could code networking in there somehow.
make this happen! playing Nethack on TempleOS would be indeed an enlightening and holy experience O_O
TempleOS has no networking stack and thus porting any of that portion would require significant kernel changes as well.
I have no doubt that there are many other "minor" things like networking that would rear their head on attempting.
It would still be a really cool project to see how far you can get and what compromises would have to be made.