James Gosling blogs about Java software performance myths James Gosling los blogs sobre el rendimiento del software de Java mitos and posts an interesting story (below). puestos y una historia interesante (abajo). The comments contains few more stories from the trenches as they say. Los comentarios contiene pocas más historias de las trincheras como ellos dicen. Lets look at the real picture shall we? Veamos el panorama real si?

There was a funny incident at a recent developer event where some folks had a booth where they where demo-ing a high end industrial strength C compiler and had a benchmark that they had transliterated into Java. Hubo un gracioso incidente en un reciente evento de desarrolladores de algunas personas que tenían un stand donde los que demo-una gran fortaleza industrial final compilador de C y había un punto de referencia que habían transcribirse en Java. They were comparing their compiler to GCC and Java. Eran una comparación de su compilador GCC y Java. GCC was running at about 2/3 the performance of this high end compiler; the Java version was running at about 2/3 the performance of the GCC version. GCC se ejecuta a cerca de 2 / 3 el rendimiento de este extremo superior compiladores, la versión Java se ejecuta a cerca de 2 / 3 el rendimiento de la versión de GCC. Folks were gathered around the booth and someone noticed that the script they were using to run the Java version didn’t have optimisation turned on. La gente se reunió alrededor de la cabina y alguien notó que el script que se utiliza para ejecutar la versión de Java no tenía optimización encendida. A few seconds with vi to add the “-server” switch and Java’s performance jumped up to match the fancy C compiler. A los pocos segundos vi con añadir el "servidor" y cambiar el rendimiento de Java saltó hasta coincidir con el compilador de C de fantasía. This got the pro-GCC crowd all excited, so a bunch of them started fiddling with its command line switches. Esto tiene la pro-GCC multitud todos emocionados, por lo que un manojo de ellos comenzó jugueteando con su de línea de comandos. They got a bit of improvement, but not much (the original selection had been pretty good). Se obtuvo un poco de mejora, pero no mucho (la selección original había sido bastante bueno).

Author: James Gosling from Sun Autor: James Gosling de Sun

In 2001 when I was working at AltaVista I started a push to move us to using Java at the front end. En el año 2001 cuando yo estaba trabajando en AltaVista empecé un empate para pasar a utilizar Java en la parte delantera. At the time an executive had stated that Java was 40 times slower than C, and that it was easy to proove. En el momento un ejecutivo había declarado que Java era 40 veces más lento que C, y que es fácil proove. So he sent me 4 programs he had written 4 years previously (when Java really was slow). Así que él me envió 4 programas que había escrito 4 años antes (cuando en realidad Java es lento). I had a look at them, optimised the IO a little (there was no buffering) and the result was that the java programs were only at most 10% slower than the C program (one of them was actually faster) But of course the Java program did a lot more: for one it was completely unicode enabled, whereas the c program was not. Tuve un vistazo a ellos, optimizar la IO un poco (no había buffering), y el resultado fue que los programas Java sólo a la mayoría de un 10% más lento que el programa en C (uno de ellos era realmente más rápido) Pero, por supuesto, los de Java programa hizo mucho más: en lugar de uno se unicode completamente habilitada, mientras que el c programa no lo era. And that was before NIO. Y eso fue antes de NIO.

Soon after this AltaVista moved to rewriting all of its front end in java. Poco después de este AltaVista se trasladó a la reescritura de todos los de su interfaz en java. I left to do other things, but was told that it was a great success. Me fui a hacer otras cosas, pero se le dijo que era un gran éxito. (Now if only they had listened to me 5 years previously when I told the CEO that they were not making the best of the resource hidden inside hyperlinks…) (Ahora si sólo se ha escuchado a mí 5 años cuando le dije al director general que no estaban haciendo el mejor de los recursos ocultos dentro de hipervínculos…)

Author: Henry Story from BblFish Autor: Henry Historia de BblFish

In yet another situation I was in, the company was prototyping in C++ because of concerns with performance. En otra situación yo estaba en, la compañía fue de prototipos en C + +, debido a preocupaciones con el rendimiento. They were worried about performance in an application that was never going to see production and in the meantime spend a lot more time producing it. Ellos estaban preocupados por el rendimiento de una aplicación que nunca iba a ver la producción y, mientras tanto, pasan mucho más tiempo que lo produce. When questioned further one could find no basis for their concerns. Cuando se les preguntó además se podía encontrar ninguna base para sus preocupaciones. They could not find one spot in the architecture where performance was so critical that it required the use of C++. No podían encontrar un lugar en la arquitectura donde el rendimiento era tan crítica que requiere el uso de C + +. Even in the face of this evidence and analysis the myth was so strong for them that they were unable to see the reality of the situation. Incluso a pesar de esta evidencia y el análisis del mito fue tan fuerte para ellos que no pudieron ver la realidad de la situación.

Author: Kirk from Java Performance Tuning Autor: Kirk de ajuste del rendimiento de Java

Personally I have found in bioinformatics world (high throughput distributed processing like genomic annotations) Java software performance competes favorably with C. Will the rumor mongers now finally put a stop to this “java performance issues” BS? Personalmente he encontrado en bioinformática mundo (de alto rendimiento de procesamiento distribuido como genómica anotaciones) del software de Java rendimiento compite favorablemente con C. ¿El rumor mongers ahora finalmente poner fin a esta "java problemas de rendimiento" BS?