future of Python: Stackless, Standard -> fragmentation ?

Suchandra Thapa ssthapa at harper.uchicago.edu
Sun Oct 8 06:36:19 EDT 2000


Alex Martelli <aleaxit at yahoo.com> wrote:
>"Suchandra Thapa" <ssthapa at harper.uchicago.edu> wrote in message
>news:slrn8tt0f4.18d.ssthapa at localhost.localdomain...
>> Neil Schemenauer <nas at arctrix.com> wrote:
>> >
>> >I understand it the .NET VM is more general and powerful then the
>> >Java VM.  It was designed as a platform for multiple languages
>> >while the Java VM was not.  Also, the .NET VM does not make the
>> >security guarantees that the Java VM does.
>>
>>     But the .NET also has some of the limitations of JVMs.  The biggest
>> one is that .NET doesn't have support for multiple inheritance.  I think
>
>That's not really a problem in the 'virtual machine' level (after all,
>Intel machinecode has no such support either, yet we compile multiple
>inheritance of implementation for it...:-) -- rather, it's at the level of
>cross language interoperability conventions.  Your components can
>inherit from components written in other languages (and be inherited
>by them) only at a single-implementation-inheritance level (no problem
>on multiple 'inheritance' of pure interfaces, of course).

Even within the context of a single language, this limitation can cause
problems if the workarounds required to implement MI or some other feature
reduce performance significantly.  

-- 
------------------------------------------------------------------

Suchandra S. Thapa 
s-thapa at uchicago.edu

------------------------------------------------------------------



More information about the Python-list mailing list