3 ms·
Python is capable, via the ctypes module. The problems include: - performance: implementations being interpreted, and relying on dynamic typing mean that Pyth
by dbaupp 10y ago
Python is capable, via the ctypes module.
The problems include:
- performance: implementations being interpreted, and relying on dynamic typing mean that Python is almost always slower than compiled languages.
- the run-time: Python assumes that things like allocations are always OK, and generally requires more operating system support than is available in low level environments.
- khedoros1 10y agoThanks for the reminder. I had it at the back of my mind that CPython is just about built as an abstraction on top of C, and so should be capable of anything C is, depending on where you wanted to draw the line between the languages.