|
From: Titus B. <ti...@ca...> - 2001-08-04 18:49:15
|
-> JZope (or Jope?) would be great and an obvious upgrade for zope, I believe. -> -> I think Jope should be an opportunity for a speed upgrade since Java is -> considerably faster than cpython. jpython is slow because it can not use -> java atomic (non-object) types for int's etc. The python spec'n would have -> to change to make that a possibility (at least while retaining 100% -> compatibility with cpython). Thanks for the meaty post, first of all -- that adds to the issues that Jeremy raised. I should note that one can now compile Java byte code to native machine code, via the GCJ front-end (a GCC family member). I don't know how much of a speedup this would give you, and, since my current app uses Swing, which doesn't have GCJ libs yet, I've not tested it out. On the other hand, as Jeremy Hylton pointed out, Zope uses a lot of C extension classes. Without some way to talk to them from Jython, you'd have to redo an awful lot of work, and it's clear that reimplementing them in Java would NOT lead to a speed increase ;). This is *separate* from all the bytecode issues... I asked the Webware creator, Chuck Esterbrook, if Webware used any C extension classes, and it turns out that it doesn't. So Webware could be a good candidate for "porting" to Jython, if people are interested in a complete OO Web framework. cheers, --titus |