3 ms·
Nicest for Python, I assume. Many languages have FFI. Lua, PHP, etc. https://en.wikipedia.org/wiki/Foreign_function_interface https://en.wikipedia.org/wiki/Fo
by reallydude 7y ago
Nicest for Python, I assume.
Many languages have FFI. Lua, PHP, etc.
https://en.wikipedia.org/wiki/Foreign_function_interface https://en.wikipedia.org/wiki/Foreign_function_interface
I don't understand the choice of Python for things like gluing together C programs. Seems like a performant mistake, at the very least.
- todd8 7y agoIt’s the 80:20 rule, which naturally doesn’t always holds. Often, however, a small part of the code is responsible for almost all of the performance issues. By picking the performance sensitive areas of the program to code in C one can often code the rest of the program in a slower more convenient language.