Live data from Hacker News

Java Makes Programmers Want to Do Absolutely Anything Else with Their Time

forbes.com

1–10 of 18 posts

Re: Java Makes Programmers Want to Do Absolutely Anything Else with Their Time

#3
> it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain

Oh please. It has displaced C and C++ for the vast majority of programming. And call me when people other than a few rabid fans and academics are actually using Haskell and OCaml for real software development.

Re: Java Makes Programmers Want to Do Absolutely Anything Else with Their Time

#4

> it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain Oh please. It has displaced C and C++ for the vast majority of programming. And call me when people other than a few rabid fans and academics are actually using Haskell and OCaml for real software development.

I think that quote was about performance. Full context:

> While it performs pretty well nowadays, it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain.

But don't underestimate C and C++. They're still widely used; by some measures, moreso than Java.

Re: Java Makes Programmers Want to Do Absolutely Anything Else with Their Time

#5

> it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain Oh please. It has displaced C and C++ for the vast majority of programming. And call me when people other than a few rabid fans and academics are actually using Haskell and OCaml for real software development.

I think that quote was about performance. Full context: > While it performs pretty well nowadays, it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain. But don't underestimate C and C++. They're still widely used; by some measures, moreso than Java.

Programs written in C and C++ are certainly much, much, much more widely used than programs written in Java.

Re: Java Makes Programmers Want to Do Absolutely Anything Else with Their Time

#6

> it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain Oh please. It has displaced C and C++ for the vast majority of programming. And call me when people other than a few rabid fans and academics are actually using Haskell and OCaml for real software development.

I think that quote was about performance. Full context: > While it performs pretty well nowadays, it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain. But don't underestimate C and C++. They're still widely used; by some measures, moreso than Java.

I'm using Java to process over a trillion files under 3 days. Sometimes its the programmer skills, not the language itself that should be blamed about performance.

Re: Java Makes Programmers Want to Do Absolutely Anything Else with Their Time

#8

Earlier quoted context omitted.

I think that quote was about performance. Full context: > While it performs pretty well nowadays, it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain. But don't underestimate C and C++. They're still widely used; by some measures, moreso than Java.

Programs written in C and C++ are certainly much, much, much more widely used than programs written in Java.

Yeah, people forget that the operating systems that run the world are written in C/C++. C underlies everything.

Re: Java Makes Programmers Want to Do Absolutely Anything Else with Their Time

#9

> it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain Oh please. It has displaced C and C++ for the vast majority of programming. And call me when people other than a few rabid fans and academics are actually using Haskell and OCaml for real software development.

I think that quote was about performance. Full context: > While it performs pretty well nowadays, it still isn’t competitive with C or C++ and, with a little love, Haskell and OCaml can or will eclipse it in that domain. But don't underestimate C and C++. They're still widely used; by some measures, moreso than Java.

I don't love java. Not at all. All my out of work coding is in other languages - primarily clojure since I can make use of the java I write at work.

However, my company has a risk management system that was written in C++. It's a system of large matrix operations that uses a lot of CPU and memory. Being one of the few neck beards at my company who had ever written C++, I was tasked with translating it to java. In order to guarantee correctness, I slavishly maintained the algorithms, classes, etc. This allowed me to compare intermediate results at each step, but obviously didn't allow for any improvements I might otherwise have done. I was hoping for a runtime differential of 2x over the C++ version which would have been adequate for our needs. I paid no attention to runtime performance, though, since correctness was the prime goal - we're talking about real money in the balance. Once I was satisfied with the numbers, I ran some performance tests. I was shocked to find the jave version ran 40% faster than the C++ version. And this was prior to performance enhancements that I was able to put into the java version added largely by the huge ecosystem that has built up around java/JVM programming.

So, yes, I don't like java, but it's hard not to respect it. Obviously, one example doesn't end the debate about performance, but I'll admit to having been shocked at this result.

Re: Java Makes Programmers Want to Do Absolutely Anything Else with Their Time

#10
This is a cut and paste from Quora (as a Forbes contributor)

http://www.quora.com/Why-do-many-software-engineers-not-like...

It contains four pages from two contributors, the first from our own michaelochurch. So the functional bent and OO bashing is no surprise.

Post reply on HN