On-topic: alternate Python implementations

Stefan Behnel stefan_ml at behnel.de
Sat Aug 4 10:03:30 EDT 2012


Stefan Behnel, 04.08.2012 15:53:
> Thomas Rachel, 04.08.2012 14:51:
>> Am 04.08.2012 11:10 schrieb Stefan Behnel:
>>> As long as you don't use any features of the Cython language, it's plain
>>> Python. That makes it a Python compiler in my eyes.
>>
>> Tell that the C++ guys. C++ is mainly a superset of C. But nevertheless, C
>> and C++ are distinct languages and so are Python and Cython.
> 
> So, if a C++ compiler takes a .c file and compiles it with C language
> semantics, it doesn't qualify as a C compiler? That implies a rather weird
> definition of a C compiler, I'd say.

Ah, sorry. Got it. You were again talking about Cython the language. Sure,
Cython the language is different from Python the language. Cython the
compiler can compile both.

Stefan





More information about the Python-list mailing list