From: John M. <joh...@ya...> - 2001-03-09 15:01:34
|
Actually, they (I won't mention the company name) ran into a bug and will try to compile the app after they get their stuff working. I'm not thrilled about using a Jar-to-'C' compiler. One of the reason to switch to Java is to avoid past nightmarish problems with building platform specific deliverables and actually getting them properly delivered. A Jar compiler may solve a problem but, like a lot of solutions, it creates a problem in the process. And then there's the fact that their stuff did not run on the first try... --- Bill Scherer <Bil...@Ve...> wrote: > If you have the budget for it, TowerJ can substanially improve your > performance. I can provide some more details if you wish. > > John Mudd wrote: > > > > I tried CPython first and I was thrilled to get 2-3 times better > > performance. But it doesn't support multi-threading. (Unless I > > completely misunderstand which is possible.) My impression is that > > CPython threads serially take turns using the interpreter. That > was a > > dead end for me. That plus the need to use Jython (Java) classlibs > to > > access our CORBA orb. Plus the push in our group for Java. > > > > Convert to C or C++. My impression is that I can only expect about > 50% > > better performance than using Java. Plus my code now has reached > the > > limits of the hardware and so, in that respect, there is no room > for > > further improvement. Although I agree that it would still be > better to > > put less stress on the machine that I have to share with many other > > processes. A more efficient program would help in that respect > but... > > > > Recode in C?? The app is tooo complicated. By design, 'C' doesn't > > afford implementing such deep abstraction. > > > > C++ was an early attempt to solve this fundamental problem with OOP > but > > I consider it the 286 (the predecessor to Intel's 386 processor) of > OOP > > languages. A necessary step but I'm proud to have never coded in > it > > the same way I'm proud to have never owned a 286 PC. > > > > IMHO, of course. A lot of this stuff is over my head and so it's > easy > > for me to draw incorrect conclusions. > > > > --- D-Man <ds...@ri...> wrote: > > > On Thu, Mar 08, 2001 at 09:59:58AM -0800, John Mudd wrote: > > > | Any thoughts about developing a tool to convert Jython to Java? > > > Unlike > > > | jythonc (which is a great tool!), something to ease the job of > > > porting > > > | to Java in order to get better performance. > > > > > > You are converting to Java for performance? I haven't heard that > one > > > before. Why not try CPython first? I have heard that CPython is > > > ~2-3 > > > times faster than Jython. > > > > > > Also, why not convert the Python code to C++ or C if you really > want > > > performance? Well-written C or C++ is lots faster than equally > > > well-written Java. (This isn't to say that you can't make poorly > > > written C that is slower than well written Java) > > > > > > -D > > > > > > > > > _______________________________________________ > > > 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/ > > > > _______________________________________________ > > Jython-users mailing list > > Jyt...@li... > > http://lists.sourceforge.net/lists/listinfo/jython-users > > -- > William K. Scherer > Sr. Member of Applications Staff - Verizon Wireless > Bill.Scherer_at_VerizonWireless.com __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |