| d2r diego's weblog: January 27, 2003 Archives |
|
Now blogging at diego's weblog. See you over there! in their sightsDeclan McCullagh has an article in News.com where he describes a piece of little known legislation called NET: If you've ever used a peer-to-peer network and swapped copyrighted files, chances are pretty good you're guilty of a federal felony. invalid dns queriesDylan has commented on a Slashdot story about the amount of invalid DNS queries. Interesting, (both the article and his comments!) more on swing v SWTChris Adams posted a comment to my previous entry that pointed to a comparison between Swing and SWT. He said (reproduced in full): For the sake of argument, I'm willing to accept the assertion that Swing has improved significantly, but I wonder why there don't seem to be any Java applications which use a Java GUI toolkit which don't feel slow. Rendering is noticeably slower, control interaction is perceptibly slower, and even simple text entry can seem slow.I can't really agree with Chris with the assertion that Java is not at the level of native application. Certainly this comes from my own experience. I run spaces every day on a P3-800 (IBM Thinkpad T21) with 384 MB of RAM under WinXP Professional. For me the performance of spaces is as good as any other native application, and its L&F is almost the same. It's as simple as this: if this wasn't the case, I simply couldn't use the app. And I certainly wouldn't have released it. That said, I think that the main point here is that there is a certain disparity on speed. Obviously Chris says it's slow because he can see it. And I have had/heard of several reports of the JVM silently crashing when certain hardware (driver-level I mean) speed optimizations are activated in the graphics subsystem of a machine (all of these on Windows). What I think is happening here is that the speed improvements that Java exhibits on some machines (take, for example, its performance on my system, undistinguishable from native apps) are heavily dependent on Java2D optimizations (and ties to underlying hardware optimizations) that were added in recent JDKs. So if those hardware optimizations are not present on the system, or they are less marked, then Java/Swing performs poorly. So IMO the main thing that is missing is not more focus on speed, but rather focus on uniform support within platforms (particularly Windows) of the improvements that make Java work properly in some systems. This is, truly, a big difference that still exists between Java and native apps (again, particularly on Windows): lack of uniform user experience. And I don't mean just in terms of performance, I mean also in terms of installation, conflicts that appear when using different JVMs, and so on. I think that when this problem is solved in its entirety we'll get to the stage that Chris is looking for. plan b is back (again)It's been almost two months since I posted the last episode of Plan B. The last few days I've been thinking more frequently that I should go back and finish it. So there we go. Swing and SWT: a comparisonThis entry by a Sun engineer is pretty good at comparing Swing and SWT, the pros and cons of each, and in particular in debunking the myths around Swing. Good reading. Copyright © Diego Doval 2002-2011.
|
