Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:Duh (Score 0) 192

C++ has many good libraries to solve problem like "string" and "memory management." The problem is they are libraries rather than language constructs. For example, shared pointer is a good thing, the problem is, because it is not language constructs, different third party libraries in your program may use different shared pointers mixed with raw pointers which makes the reference counting as unmanageable as they had not existed.

Comment Re:"many developers are so intrigued" (Score 1, Insightful) 434

I doubt that. Many languages invented before Java have already been qualified to fulfill cross-platform requirement in almost all fields except GUI. And look Java did what to GUI? Almost nothing. Java's GUI sucks, and instead of providing cross-platform, it created a new platform (recommend the use of Metal Look-and-Feel?). If your whole solution to make people working on two platforms feel better is to create the third platform, what's your point? Does people who are willing to get unified user experience have to pay money to Microsoft and Sun and Apple, and then resort to Java to get the same Look-and-Feel?

More over, all users I encountered, except developers, using one single OSs dominantly. So if you want to offer your app on multiple platforms, good, but only make the functionality cross-platform, not the user experience at the GUI level. Your cross-platform app is meant to make the same functionality accessible from different OSs, not to enforce the users of an OS experience what they should feel in another, or worse, in another new.

I think some people eventually realize GUI is of so high level of complexity and all different GUIs of different OSs can not be abstracted with a unified model in such detailed level like Java Swing.

So write once, test everywhere, for non-GUI? OK, C and other language already do that. For GUI? No improvement from Java.

Comment Re:A wish, not a prediction (Score 1) 203

True. And I think apps should make more use of the underlying mechanism provided by OS, like configuring their one non-login user with limited previlige to start sandbox process, instead of implementing their own sandbox mechanism. In-process sandbox is a bad design, as what Applet did, because it reinvents whole wheel whereas OS provides process boundary.

On the other hand, even app does not provide sandbox, a user can always configure some low-previlige user by his/her own. That may be a too hard requirement for users, but better than wait.

Comment Re:Sure -- theoretically (Score 1) 235

which of course still allows 65% CPU for any other tasks -- You don't take count into responsiveness. Yes, you still have 65% for other tasks. But that means the point at which your "other tasks"assigned is likely to fall into the duration of 35% and therefore those "other tasks" must wait a while for those 65% comes. If you want your CPU be utilized more than 50%, then you should not use any interactive UI applications, you should treat your machine like an old time batch-processing monster.

Comment Re:And Good For Them! (Score 1) 132

To put everything in a marked language standard is really a bad idea. If want to replace Flash, replace it with another better-design or more open PLUG-IN. Plug-in model is how software can be built by collaborative organizations and how each component remains clean-designed and well-maintained.

Comment Re:Huh?? (Score 1) 275

And what's to stop people from simply installing a tiny key logging chip inside your keyboard?

Now they know the cost. From now on, designers must be aware of the support cost incurred by install every individual piece of unnecessary chip.

Comment Re:Thanks (Score 1) 909

I am not sure how much the probability that FireFox change an image from a server. According to my experience it rarely change the original images. Does GIMP always download the image from the server? If so, either FireFox or GIMP is not very smart. In most cases, they should exchange the information of local copy of the images as long as the image is not changed.

Slashdot Top Deals

"The greatest warriors are the ones who fight for peace." -- Holly Near

Working...