What python can NOT do?

Tim Chase python.list at tim.thechases.com
Fri Aug 28 20:05:40 EDT 2009


qwe rty wrote:
> i know that an interpreted language like python can't be used to make
> an operating system or system drivers.

As long as you are willing to write the OS hooks in C, you can 
write the userspace device drivers in Python:

https://www.linuxquestions.org/questions/programming-9/how-to-write-device-driver-program-using-python-in-linux-687277/

Since Python is Turing-complete, there's no reason a whole OS 
couldn't be authored in Python.

> what else can NOT be done in python? what are the limitations of the
> language?

I understand there's a little trouble getting Python to prove 
that P=NP  You'll also find that it only comes close to solving 
the unrestricted three-body problem and the Traveling Salesman 
problem is still limited to fallible heuristics and searching the 
entire solution set in better than O(2**n) time.

-tkc







More information about the Python-list mailing list