+ 1
Is there a possibility of adding a bit of C to Python to make Python a bit faster
2 ответов
+ 3
Nope. Python (more accurately, CPython), is programmed in, and works in an entirely different fashion than, C. There are faster versions of Python availiable, but you cant "combine" the two languages
You could, however, split the project between the two languages to make it run faster (like having C run physics simulations), while Python handles the client-side operations, displaying and data-crunching
+ 2
Well, you can create python modules in C
https://www.tutorialspoint.com/python/python_further_extensions.htm