Well shoot! This is really interesting though. I’m not a programmer, but I think I understand the basics of this.
You just cannot do it, I’m afraid. Python is an interpreted language, and requires de CPython library to be translated into machine code so that it can then be run, but that requires an underlying OS that makes the calls. The closest thing would be micropython, which can be run inside the Linux kernel, but that’s about it. The only thing I can think of is using a custom compiler that would generate either C/C++ or assembly code from a Python script, and then compile it using a standard C/C++/assembly compiler.
buttnugget@lemmy.world 4 days ago
PlexSheep@infosec.pub 4 days ago
Guess they have to write a python compiler first then.
MonkderVierte@lemmy.zip 4 days ago
So, there?
cooligula@sh.itjust.works 4 days ago
That is not the same as building an OS in Python hahaha