3 ms·
Technically, you'd use a C/C++ library with a Python wrapper.
by spaced-out 8y ago
Technically, you'd use a C/C++ library with a Python wrapper.
- mlthoughts2018 8y agoYes, that is called Python.
- throwawaymath 8y agoNo it isn't? The substantive portions of the software aren't written in Python. Python is a thin interface to the actual library. Users of the library who need to rapidly prototype can leverage the library using its Python frontend, but the authors of the library did not write the library in Python.
- mlthoughts2018 8y agoTo program in CPython is to use thin wrappers around C-level implemented extension types and modules. For example, all major built-in container types. If you program in Python for performance-critical applications, as I do, then you will frequently hand-write C-level extension modules, write extension modules in Cython, use JIT tools like numba. All of this stuff “is Python.”
- wrmsr 8y agoeven for the crud apps so frequently referred to in this thread the equivalent 'real code' is the sql rdbms written in c or c++ no matter what the webapp language is. i don't advocate using python in million line monoliths despite it being my favorite lang in general at the moment but the volume of cognitive dissonance and false dichotomies in this thread is crushing.