Comment on The C programming language is like debating a philosopher and Python is like debating someone who ate an edible

<- View Parent
cooligula@sh.itjust.works ⁨4⁩ ⁨days⁩ ago

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.

source
Sort:hotnewtop