|
Posted by Jim Higson on 09/13/05 22:58
Dylan Parry wrote:
> Using a pointed stick and pebbles, SpaceGirl scraped:
>
>> Java is very object-orientated, but has a lot of layers to it
>> which can slow development and execution down in some cases.
>
> Back when I was learning Java, I was told that it is approximately 100x
> slower than C equivalent due to the "virtual machine" execution style. I
> don't know how this compares with ASP.NET though, as that has a similar
> execution style.
100x is a pretty big exaggeration. Modern JVMs have just-in-time
compilation, so they're really running native machine code for the most
often used bits (badly optimised native code, but at least not directly
interpreted byte code)
IME good Java takes about 1.5 to 3 times what good C++ would. It depends
what you're doing of course, if the ap is heavily dependant on a database
that might be the bottleneck anyway.
Navigation:
[Reply to this message]
|