News for hackers. Stuff that matters.
Re:Why do we need "? extends" in Java by gaving on Sunday March 25, 2012 @06:31AM (#3752252)
Why do we need Java?
Re:Why do we need "? extends" in Java by lani on Sunday March 25, 2012 @10:10AM (#3752637)
ava's design allows app development and performance to be decoupled (to a good extent, when compared to C or C++). Combined with the lower learning curve (again, compared to that which ruled before - aka C++), this commoditizes app development and has hence found much adoption in industry, leaving a small team of specialists to work on performance (& the jvm). Adoption leads to funds leads to research and/or improvements until Java expanded to include much of what needed to be done via programming, in other words, you can get almost everything you want done in java. In other words, Java is an industry standard, or if you will, a household name. So why do we need Java ? same reason as we need division of labour.
Re:Why do we need "? extends" in Java by prodigal_erik on Sunday March 25, 2012 @04:31PM (#3753729)
Currently, the JVM usually outperforms everything other than C or C++, and those are only fast until they blow up randomly because humans can't write 100% flawless code.
Re:Why do we need "? extends" in Java by zxcvb on Monday March 26, 2012 @05:30AM (#3755808)
I don't know about that. Some of the Java libraries that were written in C were long ago converted to Java and they run faster.

It's hard to say that the JVM is faster or slower than X because it usually comes down to the way in which the application is developed.

If C++ was ALWAYS faster then I wouldn't be using Java for our trading systems. Some of our competitors use C++ and some use Java. We have one of the fastest trading platforms in the world, the only firm to have faster than us are also using Java.

Re:Why do we need "? extends" in Java by prodigal_erik on Tuesday March 27, 2012 @02:01AM (#3760253)
Cool. I've always expected JIT could eventually beat AOT compilation, though I haven't heard of that being commonly seen. I'm a little surprised that C++ still tends to use crude vtable dispatch just because that's what Stroustrup demonstrated and it's easy.
Re:Why do we need "? extends" in Java by zxcvb on Sunday March 25, 2012 @08:51AM (#3752445)
Many companies depend on Java for their mission critical infrastructure and applications.

I used to work at a world leading investment bank who's entire low latency, high scalable trading platforms were built in Java.

Just about every large financial firm that I've worked at plus both telco firms and one management consultancy used Java to build large, fast and scalable applications.

You may have no use for Java in your small bubble of a world where you most probably work on insignificant, crappy pay and waste of time projects, but people who work on important stuff in the real world do. I'm sure other people can tell you why Java is important in ways that I cannot. I just get annoyed when I see people slag off a piece of technology just because they don't use it or like it.

Re:Why do we need "? extends" in Java by batista on Sunday March 25, 2012 @08:41AM (#3752424)
Because it powers tens of thousands of huge systems in use?

How about that?

Have you tried programming BEFORE Java, when the same kind of systems were done in C++ with CORBA or similar monstrosities?