On Apr 12, 2006, at 5:13 AM, Michael Yanowitz wrote: >> > > Thanks. I want to translate from Python to C++ for a few reasons: > 1) Curiosity. I would like to see how well the translation goes. > 2) Efficiency. It is alot quicker to code something in Python. If I can > write it in Python and auto-convert it to C++. I would save time > coding. > 3) Education. I would learn more about Python, C++, their similarities > and > differences. > 4) Other. Just want to know how well Language translators work these > days. I > have seen > Fortran2C and Pascal2C translators in the past. Would like to see > how > well these > work with Python. > > Thanks in advance:
You want this: http://shed-skin.blogspot.com/ It can only do a subset of Python, but it does generate C++ code, and it can see some big speedups. Jay P. -- http://mail.python.org/mailman/listinfo/python-list