How does Python compile some its code in C?
Posted
by
Howcan
on Programmers
See other posts from Programmers
or by Howcan
Published on 2014-08-23T19:16:48Z
Indexed on
2014/08/23
22:33 UTC
Read the original article
Hit count: 284
I read that some constructs of Python are more efficient because they are compiled in C.
https://wiki.python.org/moin/PythonSpeed/PerformanceTips
Some of the examples used were map() and filter(). I was wondering how Python is able to do this? It's generally interpreted, so how does some of the code get compiled while another is interpreted - and in a different language? Why not just compile the whole thing?
© Programmers or respective owner