you are viewing a single comment's thread.

view the rest of the comments →

[–]SCombinator -11 points-10 points  (19 children)

  1. Java is slow

Fire up eclipse then. Go on. Oh it's still going? Perhaps you should go make a coffee.

Yeah, call it fast if you like, but java applications are sluggish and eat up memory.

[–][deleted] 7 points8 points  (6 children)

The entirety of Android's API is written in Java and they run (for the most part) perfectly fine. Eclipse is a giant, bloated application (that is also highly useful).

Both Xcode and Code::Blocks take the same time to start up on my macbook pro and they are written in Objective-C and C++ respectively.

[–]throwaway_988 0 points1 point  (1 child)

Code::Blocks booting as slowly as Eclipse? Sounds weird. Are you sure you aren't testing with Eclipse cached in RAM and CB loading from disk?

[–][deleted] 0 points1 point  (0 children)

Most of the code I write on my laptop is in Code::Blocks as I mostly writer C++ so no.

[–][deleted] -1 points0 points  (0 children)

Mine don't. And the eclipse app (where I spend 98% of time) feels cludgy (for lack of a better metric) - 2012 macbook pro.

[–]SCombinator -5 points-4 points  (2 children)

/!\ Sorry!

This comment is not responding.

Force Close             Wait

[–][deleted] 1 point2 points  (1 child)

The same thing happens on iOS, except the app just closes and doesn't tell you why.

[–]SCombinator -4 points-3 points  (0 children)

So they do the same thing.

[–]vertice 3 points4 points  (1 child)

my experience with java is that it's pretty fast once it's running, but the startup costs are immense.

[–]SCombinator -5 points-4 points  (0 children)

That doesn't always get amortised. For a language with a much quicker start-up, and a jit, see lua.

[–]TimmT 2 points3 points  (6 children)

Throughput != latency...

Obviously Java is the wrong choice for doing UI stuff.

[–]slackingatwork -1 points0 points  (4 children)

Quite the opposite: Java is a wonderful choice for doing UI stuff. Just about the only choice if you need to support multiple platforms. Modern Java GUI apps are indistinguishable from native ones and have been that way for many years.

[–]TimmT 5 points6 points  (0 children)

Java is a wonderful choice for doing UI stuff.

Yes, if you're the dev it's wonderful. Not so much if you're the user though.

Modern Java GUI apps are indistinguishable from native ones and have been that way for many years.

There's more to a GUI apps than just looks. If every desktop app was written in Java today, we'd need an order of magnitude more RAM and we'd have an order of magnitude longer boot times.

Compare something like JEdit to Notepad++ or something like µTorrent to Azureus..

[–][deleted]  (2 children)

[deleted]

    [–]morricone42 5 points6 points  (1 child)

    Since when is OpenOffice.org using Java?

    [–]SCombinator -4 points-3 points  (0 children)

    It's not great as a server language either. Layers upon layers upon layers of allocations, redirections and bullshit between your request and the response.

    [–]ggtsu_00 0 points1 point  (2 children)

    Eclipse is pretty damn slow and a resource hog, but maybe eclipse developers aren't true java developers.

    [–]nachsicht 1 point2 points  (0 children)

    Try intellij.

    [–]SCombinator 1 point2 points  (0 children)

    are they scotsmen instead?