Why is python not written in C++ ?
benjamin.kaplan at case.edu
Tue Aug 3 20:16:25 CEST 2010
On Tue, Aug 3, 2010 at 10:44 AM, John Nagle <nagle at animats.com> wrote:
> On 8/1/2010 5:36 PM, Roy Smith wrote:
>> In article<4c55fe82$0$9111$426a34cc at news.free.fr>,
>> candide<candide at free.invalid> wrote:
>> Python is an object oriented langage (OOL). The Python main
>>> implementation is written in pure and "old" C90. Is it for historical
>>> C is not an OOL and C++ strongly is. I wonder if it wouldn't be more
>>> suitable to implement an OOL with another one.
>> One thing that comes to mind is that it's much easier to distribute C
>> libraries than C++ libraries.
>> If I compile a main program with one C compiler and you compile a
>> dynamically loaded library with another C compiler on the same box, the
>> odds are pretty good they'll interoperate without any problems.
> Not for Python. Extensions have to be built with essentially the
> same version of the same C compiler used for building Python. This
> is a major headache.
> John Nagle
Pretty sure that's only one Windows, and only because they need to be linked
to the same version of MSVC. It's not a compiler issue, it's incompatible
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list