Question on compiled code when embedding Python in C++

Borse, Ganesh ganesh.borse at credit-suisse.com
Mon Dec 3 22:54:57 EST 2007


When we compile a Python code using functions such as Py_CompileString or any other similar compile function, what will be the resulting executable code?
Will it be byte code somewhat like the byte code of Java?
Or it will be the same binary code like the once generated by C/C++ compilers from the source code?

Are these code evaluations recommended for the performance intensive actions in C++ program?

Any thoughts?

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071204/d10e341b/attachment.html>


More information about the Python-list mailing list