From: John M. <joh...@ya...> - 2001-03-09 00:35:13
|
Yes, I not only used vanilla Jython but also used Java classlibs for I/O and checksums instead of Python. I originally used Python but started using Java where I could to help performance. That wasn't enough and so then I started switching completely to Java. Maybe there's a market for this sort of scenario. Use a subset of Jython in exchange for the ability to switch to Java after the prototype solidifies. Maybe both languages would benfit from collaboration. --- Multiple inheritance? Yes, it's upsetting to me that the Java techs left this out and have the nerve to defend their gutless decision with bs. In reality, Java does support multiple inheritance. Well, in one necessary case where the Java techs painted themselves into a corner... the ability to inherit from Thread and one other class. They don't support this explicitly... no, that would require admitting their error. Instead they hatcked the language itself to get that it. Ugh. That's makes two mistakes. --- CPython? I'm not sure about that anymore. It's faster than Jython in most cases but I have multi-threaded apps... on HP. Maybe I misused it but CPython crumbles... each thread taking a turn with the interpretter. The performance falls to near zero. Correct me if I'm wrong but the micro-threads in stackless Python is no better. --- Finn Bock <bc...@wo...> wrote: > > >BTW, after spending hours adding braces and semicolons and "new" and > >*obvious* data types, etc. to transform Jython to Java, I now think > of > >Java as simply Jython dressed in drag. (Not that there's anything > >wrong with that!) > > Probably because you only use a small subset of python's dynamics. > Think > about converting an application that changes the __class__ field, add > or > replace methods on class, use multiple inheritance or build > codestrings > to be exec'ed. > > regards, > finn > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |