Linked by theuserbl on Sun 10th Jul 2011 18:48 UTC
Java "After an initial round of testing we've declared build 147 to be the first Release Candidate of JDK 7. There are only thirteen changes in this build. Over half of them are administrivial updates that don't affect the actual code; the remainder are true showstoppers, including several hard VM crashes and a JIT correctness bug identified by an Eclipse unit test. If no new showstopper issues are reported, and if JSR 336 and the component JSRs pass their Final Approval Ballots in the JCP, then this will be the GA build for release later this month per the schedule posted back in January."
Thread beginning with comment 480240
To read all comments associated with this story, please click here.
Swings is fast
by StaubSaugerNZ on Mon 11th Jul 2011 05:36 UTC
StaubSaugerNZ
Member since:
2007-07-13

Ever since Java 1.6.0_u10 *all* of Java2D has been *hardware* accelerated via OpenGL or DirectX shaders (depending on your platform). If your app is slow it is either doing a lot of work, you have poor hardware, or the person who wrote the app is doing work on the Event Dispatch Thread (EDT) instead of in a thread off the EDT.

Plus, Swing with the Nimbus skin looks really nice. Many people I've written Swing software for comment how nice the apps look - even better than their native Windows counterparts (plus I can develop on Mac or Linux and they run sweet on Windows).

As for the fella who can't keep his webapps up, that is just laughable. I'm a consultant developer and it is fairly easy to write programs in Java that can stay up for a long time - if you do a little work using Java's built-in tools to make sure that *you/me* hasn't screwed anything up. JVisualVM is really outstanding in the ability to hook into any running Java program and see what is going on - with the ability to also do the same to remote JVMs too (although not to the profiling resolution).

Plus, technologies like Google Web Toolkit (GWT) bring sanity to web development. The only cross-browser issues you have to deal with are CSS issues. It doesn't matter how many versions of Firefox will be released this year, since GWT will sort it out for you.

Sorry, Java is neither slow, nor particularly memory hungry (roughly comparable to .NET apps), nor ugly. You do have to know something about what you are doing though.

This is why places like Tiobe put Java as the single most popular development language (still!). The simplicity of the language and the breath of its libraries are huge advantages that no language looks close to tipping. Many people hate Java since it isn't 'l337' enough for them, but for those that just wanna get stuff done (no matter what the platform) then it is kick-ass.

ps. Check the numbers at the Tiobe Index at:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

or, Programming Language Popularity at:
http://langpop.com/

Edited 2011-07-11 05:36 UTC

Reply Score: 4

RE: Swings is fast
by moondevil on Mon 11th Jul 2011 06:25 in reply to "Swings is fast"
moondevil Member since:
2005-07-08

Agreed.

The problem with many Java developers nowadays, or any developer for that matter, is that they do not know how to code.

I still remember the hard times to fit programs in 64KB segments.

Many people nowadays code without regard to program efficiency, thus leading to the general feeling that language X is slow.

Reply Parent Score: 2

RE: Swings is fast
by Lennie on Mon 11th Jul 2011 08:50 in reply to "Swings is fast"
Lennie Member since:
2007-09-22

I think it is because that is what they teach at school nowadays and that is why it is used as much.

I don't know if it is a good teaching tool. But I'm not impressed, to say the least, about the programming abilities of the people that do graduate and the programs they create.

Reply Parent Score: 3

RE: Swings is fast
by lucas_maximus on Mon 11th Jul 2011 09:03 in reply to "Swings is fast"
lucas_maximus Member since:
2009-08-18

Plus, technologies like Google Web Toolkit (GWT) bring sanity to web development. The only cross-browser issues you have to deal with are CSS issues. It doesn't matter how many versions of Firefox will be released this year, since GWT will sort it out for you.


** groan ** ... not this really ...

GWT actually makes web dev harder IMO ... jQuery is far quicker and easier to learn and is tested much more throughly ... and you still need to know JS when using GWT anyway so you might as well learn JS.

Edited 2011-07-11 09:05 UTC

Reply Parent Score: 2

RE[2]: Swings is fast
by JAlexoid on Mon 11th Jul 2011 09:27 in reply to "RE: Swings is fast"
JAlexoid Member since:
2009-05-19

There is only one way jQuery is easier than GWT, if you use Node.js on the backend.

Otherwise, jQuery is rather easy way of developing the JS based UI. Interacting with the server side is still easier with GWT.

Edited 2011-07-11 09:28 UTC

Reply Parent Score: 2

RE: Swings is fast
by ebasconp on Mon 11th Jul 2011 16:04 in reply to "Swings is fast"
ebasconp Member since:
2006-05-09

I've installed NetBeans and Eclipse in Windows, Mac and Linux and, though NetBeans and Eclipse UI performance is quite similar in Windows and Mac, in Linux I find NetBeans evidently slower than Eclipse. Do not know if Swing does some hardware acceleration in Linux, but in my Linux box, it does not perform as well as in Windows or Mac.

Reply Parent Score: 2

RE[2]: Swings is fast
by StaubSaugerNZ on Mon 11th Jul 2011 18:15 in reply to "RE: Swings is fast"
StaubSaugerNZ Member since:
2007-07-13

It will be because the 3D graphics drivers on Linux may not be as good as on the other platforms.

Reply Parent Score: 2

RE[2]: Swings is fast
by draethus on Tue 12th Jul 2011 08:09 in reply to "RE: Swings is fast"
draethus Member since:
2006-08-02

I've installed NetBeans and Eclipse in Windows, Mac and Linux and, though NetBeans and Eclipse UI performance is quite similar in Windows and Mac, in Linux I find NetBeans evidently slower than Eclipse. Do not know if Swing does some hardware acceleration in Linux, but in my Linux box, it does not perform as well as in Windows or Mac.


What UI are you using for Swing? The GTK look and feel is very slow, as Java is forced to work around GTK's lack of transparency by drawing each widget twice, once on a black background and once on a white background, then downloading the images from the X server, mixing them to recover the transparency, and finally uploading the recovered image.

Reply Parent Score: 1