Is there a possibility of adding a bit of C to Python to make Python a bit faster | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there a possibility of adding a bit of C to Python to make Python a bit faster

1st Sep 2019, 5:39 AM
Da Ven
Da Ven - avatar
2 Answers
+ 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
1st Sep 2019, 8:06 AM
Trigger
Trigger - avatar
1st Sep 2019, 11:16 AM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar