On C/C++ undefined behaviours
Jonathan M Davis
jmdavisprog at gmail.com
Fri Aug 20 10:30:22 PDT 2010
On Friday, August 20, 2010 10:04:41 Andrej Mitrovic wrote:
> What are these Java programs for the desktop that run fast? I haven't
> encountered any, but maybe that's just because I didn't try them all
> out. Eclipse takes at least 20 seconds to load on startup on my quad
> core, that's not very fast. On the other hand, CodeBlocks which is
> coded in C++ and has a few dozen plugins installed runs in an
> instant.
There's plenty of Java code which runs just as fast or faster than comperable
C++ code. I've seen it. However, you're generally talking about small,
computation-intensive programs. When you're talking about full-blown desktop
applications, there's so much more going on than math operations that the game
is entirely different. I'm not sure that there are any full-blown desktop Java
applications which are all that efficient in comparison to similar C++
applications. They're definitely useable, but not necessarily as efficient. Of
course, the difference between Ecilpse and CodeBlocks could be entirely a design
issue rather than a language one. Once you're dealing with anything that
complex, accurately comparing apps can be difficult. It could just as easily be
that Eclipse's design isn't as efficient - be it due to features that it has
which CodeBlocks doesn't or poor design, or whatever.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list