Re: Why java?
Posted: Sat Jun 19, 2010 1:04 pm
Java 7 is the future guys 

its planned to september 2010 so no idea..maybe xmas ?JIV wrote:wonder when it will be out..
Not entirely true.Naminator_X_ wrote:The fact that Java runs in virtual environment makes it slow. That virtualization costs.
Reference, paragraph 2 in that section. If a server has been running long enough (and I have no idea what 'long enough' means) it will have the most used operations compiled to machine code, which is ~as fast as c++ compiled code.Wikipedia wrote:One possible optimization, used by Sun's HotSpot Java Virtual Machine, is to combine interpretation and JIT compilation. The application code is initially interpreted, but the JVM monitors which sequences of bytecode are frequently executed and translates them to machine code for direct execution on the hardware. For bytecode which is executed only a few times, this saves the compilation time and reduces the initial latency; for frequently executed bytecode, JIT compilation is used to run at high speed, after an initial phase of slow interpretation. Additionally, since a program spends most time executing a minority of its code, the saved compilation time is big. Finally, during the initial code interpretation, execution statistics can be collected before compilation, which helps to perform better optimization.[2]