|Authored by: Tyro on Thursday, May 24 2012 @ 11:01 PM EDT|
|Last I checked, Python was considerably slower than Java.|
http://shootout.alioth.debian.org/ reports that on one of their quad core
machines Python3 was up to 100 times slower (and down to 4 times faster) than
Java Server 7. Different problems had different values, but that was the
range...and the average was towards the "lots slower" end. Of course
these tests don't factor in things like I/O, but still...
When Python is fast enough to run, it's a lot faster to write and debug. But
that often isn't the case. I really don't *know* of a good substitute for Java,
though I've looked rather diligently. C & C++ are much slower to develop
in, and don't handle Unicode at all well. Though I'm not real impressed by the
Java method of handling Unicode, but prefer the choices made by either D or
Vala. In fact I'd always choose D over Java if it weren't missing so many
libraries. Vala is jut too slow at maturing. The documentation is atrociously
incomplete, so much so that I've currently given up for a year or so. But Vala
has the libraries which D lacks, so there's a fair chance that I'll eventually
decide that it's the best choice.
For now, however, I can't find a decent substitute for Java. I do, however,
plan on using the OpenJDK version, which is GPL (with classpath exception).
[ Reply to This | Parent | # ]