Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python to C converter / interpreter [closed]

What are various tools to convert Python scripts to C. I am mainly looking at speed of such tools/converter/interpreter.

Thanks, -J

like image 308
Jay D Avatar asked May 20 '12 07:05

Jay D


2 Answers

cython is what you are looking for http://www.cython.org/

like image 122
Bander Avatar answered Oct 19 '22 20:10

Bander


Mark Dufour's Shedskin is an interesting alternative, that can parse a large subset of python, and translate it to C++. The project also has a really good blog

like image 42
Andrew Walker Avatar answered Oct 19 '22 20:10

Andrew Walker