At 11:31 AM 3/9/02, Joshua Fox wrote:
>Thanks,
>
>I see that Jython does in fact allow mult. inh., but not for inheritance
>from java.
>
>I am wondering if there are any points where the JVM limits the full
>flexible use of Python -- perhaps there are none. Microsoft claims that
>the .NET Common Language Runtime is designed to be cross-language
>compatible, but Jython seems to be good evidence that the JVM has that
>kind of flexibility.
A few places, but not many. Although it depends on your definition of JVM
being the limiting factor -- the fact that the JVM can't run CPython module
written in C removes a lot of useful libraries. There is some
functionality of file objects, and the sys, and os modules in particular
that is just not offered by the JVM.
There are other CPython/Jython differences, of course, but those are the
main ones stemming from limitations of the JVM itself, rather than
differing design decisions.
Hope this helps,
Noel
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|