Why is python not written in C++ ?

Ulrich Eckhardt eckhardt at satorlaser.com
Wed Aug 11 08:40:40 CEST 2010


Martin v. Loewis wrote:
> Am 10.08.2010 09:06, schrieb Ulrich Eckhardt:
>> When asked on the developers' list, it was said that this was
>> intended for compatibility with C++, e.g. in cases where people
>> want to embed Python into their C++ projects. Of course, this
>> contradicts Christian's statement that C++ compatibility 
>> wasn't considered useful enough.
> 
> It doesn't contradict at all. In order to embed Python into a C++
> application, it is sufficient if the Python header files can be compiled
> with a C++ compiler, and linking to the C function works
> properly - which is indeed the case.

That's true, maybe I don't remember the exact rationale. Especially if even
someone like you, who is much deeper into Python development, doesn't, I'm
wondering if I'm misremembering something....

Cheers!

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932




More information about the Python-list mailing list