Comment Re:Not be a nudge, but.... (Score 1) 6
While you could probably rewrite a lot of the GNU tools in Python, what will you do about more performance oriented things, like GCC? Even if you can write a compiler in Python, the performance would be so bad as to make it pointless. Also, you can not write a kernel in Python as it exists right now. Python simply does not have the low level functions that you need. While you could create a bunch of modifications, at that point you've lost your "Pure Python" goal.
You also have the issue of a bootloader.I'll simply state it right now that it is impossible to write a bootloader in Python. It can not be done.For a simple proof, how would you go about switching the CPU from real mode to protected mode? How will you enable the A20 gate? How will you load a GDT? How will you access a particular memory address without pointers? And the most important part of all, how in the world will you run Python in a bootloader or kernel without the interpreter? The interpreter needs a kernel to run on. If the kernel is written in Python, it needs that interpreter to run.
It's a very interesting, noble goal, but I'm really afraid that it simply can not be done.
You also have the issue of a bootloader.I'll simply state it right now that it is impossible to write a bootloader in Python. It can not be done.For a simple proof, how would you go about switching the CPU from real mode to protected mode? How will you enable the A20 gate? How will you load a GDT? How will you access a particular memory address without pointers? And the most important part of all, how in the world will you run Python in a bootloader or kernel without the interpreter? The interpreter needs a kernel to run on. If the kernel is written in Python, it needs that interpreter to run.
It's a very interesting, noble goal, but I'm really afraid that it simply can not be done.