Re:Tetris-OS: An operating system that only plays Tetris
by skissane on Wednesday April 21, 2021 @02:13AM
(#26885970)
I don't agree that something has to be capable of running "arbitrary binaries" to count as an operating system. If I have a Smalltalk-based OS which is capable of running arbitrary Smalltalk code, but doesn't have any support for running non-Smalltalk binaries (native code or programs written in languages other than Smalltalk), I'd still consider it to be an operating system.
[ Parent
| on HN ]
Re:Tetris-OS: An operating system that only plays Tetris
by aparsons on Wednesday April 21, 2021 @09:27AM
(#26889371)
The “arbitrary” part is a force of how rather than what programs are run.
Is your Smalltalk code running by compiling it into the OS? Is it loaded as a library? Can I write a C backend to output an indistinguishable library? In the latter cases, it is still capable of running arbitrary code - you may just be choosing not to.
Re:Tetris-OS: An operating system that only plays Tetris
by xkriva11 on Wednesday April 21, 2021 @11:13AM
(#26890728)
You can still write code in a different language like C that will compile into Smalltalk VM bytecode. You will never be able to run any arbitrary code, just the one compiled for your machine. And in this case, the machine is virtual (but does not need to be). Symbolics Lisp machines were able to run Pascal as well, for example.