Slashdot is amazing. No one can even mention Java before the uninformed flames start lighting up.
Java has select() (it's called something slightly different though), which can be used for great effect in web servers.
However, threading is Java's forte, and many servers use it quite heavily. I'm developing one myself right now. And let me tell you, you wouldn't want to do what I'm doing with a select() loop.
Oh, and another thing. Even if you're not using 1200+ threads (my server has some 50 threads running) you are still going to see amazing performance improvements with the new threading model. And not only for Java. This is true for every heavily multi threaded application.
I couldn't care less about the "The experience of shopping". I welcome any invention that will shorten the time for me to actually get the stuff I'm after.
As a person who has the need to write text in more than one language, it pisses me off to no end every time I see that a site doesn't use UTF-8.
At least in Java, it's very simple to set a whole site up to use UTF-8 all over once and for all, and thanks to the native support for unicode throughout the language everything just works, automatically.
I can't remember seeing a single PHP app that handled multiple languages in any was even closely resembling sane.
Very true. Also, the guy who wrote the article seems to have no knowledge of local interfaces. But, I guess I can't demand that magazine writers follow the latest developments, they've only been around for a couple of years.
Re:The author is quite narrow minded.
on
Is Bluetooth Dead?
·
· Score: 1
I understand that was a joke. I just wish I understood it though.:-)
All the facs are correct in the article, but he still manages to come to such a narrow-minded conclusion that he most likely is a slashdot regular. Where else do you learn how to focus on only one thing while blatantly ignoring everything else around you?
Bluetooth might very well be beaten by 802.11 for internet connectivity. Sure, but that's really not what Bluetooth is all about. Try putting 802.11 in your mobile phone and watch the battery drain away like CPU cycles in a Windows machine. Try putting 802.11 in your wireless mouse, C-Pen or a microphone?
The usage areas for 802.11 and Bluetooth only slightly overlap. They each have distinct advantages. Bluetooth is very cheap and consumes very little power. Those two advantages alone will keep it alive until something better comes along.
The multiple languages argument is moot. The Java VM supports several languages, of which JPython is the most well known. The.net support for other languages isn't much better than Javas. In particular the managed C++ requires quite extensive rewrites to make it run properly in the.net framework.
operator overloading, support for delegates
I'd call the lack of these in Java compared to C# (I see we're not comparing platforms anymore) to be a good thing. And apparently so does other people.
native integration
Ever heard of JNI? Or maybe you are referring to unmanaged code? Personally I think it's a good thing to have good separation between native and non-native code. Besides, unmanaged code totally breaks the security model.
superior class library
Are you kidding me? Examples please. The.net class libraries are not as well evolved as the Java ones. I'd argue that the biggest problem with the Java class libraries are that they have too much in them (i.e. bloat).
better reflection services
I am not qualified to comment on this.
COM+ integration
Obviously.net has COM+ integration. Wether it's useful or not I'll leave to others to decide. Especially with regards to the usefulness for Unix/Linux people. If you really want COM+ integration though, you can check out the JavaBeans to ActiveX bridge.
built-in XML features
Java also has built-in XML support. Both for SAX and DOM. You might also want to read this for more information.
By using.NET Remoting, I can do that with ONE line of code and put all configuration in an XML file.
Let's see... Two lines of code versus one line plus an XML file. I'll take the two lines of code please.
The point is silly though, since it's very easy on both platforms.
Hm, the REAL question is why people are so fond and liking of Sun. They are *at least* as evil as Microsoft..
No, they are not. Microsoft has a long recorded history of doubtful behaviour.
In what way is Mono a superset of the Java functionality?
Would you be so kind to explain to me exactly how many technologies that.net has that makes it a superset of Java? Maybe you haven't investigated J2EE, J2ME and all the other technologies that are part of the Java platform. Besides, Java has a much larger free software community. Freshmeat, for example, lists 2382 Java projects (that's less than 100 frewer than C++). To be compared to the 46 C# projects.
Want to implement a SOAP web service? Check out GLUE. It allows you to distribute any java object as a SOAP service using only 2 lines of code (one to start the server and one to register the object).
And if you don't want to listen to me, why not read this list. It contains some good stuff.
Why people spend their precious time on a project like Mono with such an unstable (legally) base is beyond me. Why the Linux community seem to embrace.net more than java is even more boggling.
Re:Who said anything about secure?
on
Longhorn in 2006
·
· Score: 1
You don't have to use it you know.:-)
(don't bother to answer, I can predict every single reply)
I have seem just too many books/comics made into films that totally massacre the story, and in many cases: the atmosphere of the world that the story inhabitates.
I'm placing high hopes on this, but I'll hold off any rejoicing until I've seen it.
Everything? No, but a lot probably can. Personally I don't like python one bit, but I'd feel much safer if most of my day-to-day apps were written in it.
This happens with any programming language. Microsoft Office manages to out-bloat itself on every release, and it's written in C++.
At the same time I have seen extremely lean effificent programs written in safe languages. And let me emphasise this again: Java is not the only safe language around, it's just the most popular right now, together with Python I guess.
If it was bad attitude on the programmers part to use development tools and languages to minimise errors and make us more effeient, we'd still be hand-coding everything in machine code.
Java is only one of the languages that completely prevent stuff like buffer overrun exploits etc. In fact, pretty much every single language except C and C++ do.
and will continue long past when the net becomes a ubiquitous utility like the telephone
To many people like myself it already is. I would have no problems living without a telephone, but take my broadband net access away and it would change my life significantly. Mainly since I wouldn't be able to keep in touch with the people I know.
True, he's one of the smartest people alive to day (if not the smartest). However, if he had remained well he might not have chosen the scientific career. He did have a lot of other interests (sports, if I'm not mistaken?) before.
I can't link you to any sites with more information since most of what I know about his life comes from a documentary I watched on (i think) Discovery.
He did. He was in university when it happened. And besides, in all it's horribleness, it was probably a good thing for humanity he did, since he didn't really start to take an interest in his studies until after he became ill.
Well, to look at another angle, it doesn't *force* you to use neither tables nor a constrained mechanism such as select. Querying and updating data in memory is MUCH EASIER, believe me! That is, if you can do OO.
If you read my post again you will notice how I never said that Prevayler is in any way bad. In fact, it's very good.
Luckily I barfed all my stomach's content the first time I saw SQL and never jumped in that bandwagon. I knew that 3rd class hack couldn't be the universal solution to reliably storing and retrieving large amounts of data.
That's just trolling, and really doesn't desrve an answer. Suffice it to say that a lot of people (who actually used SQL) disagrees with you.
Java has select() (it's called something slightly different though), which can be used for great effect in web servers.
However, threading is Java's forte, and many servers use it quite heavily. I'm developing one myself right now. And let me tell you, you wouldn't want to do what I'm doing with a select() loop.
Oh, and another thing. Even if you're not using 1200+ threads (my server has some 50 threads running) you are still going to see amazing performance improvements with the new threading model. And not only for Java. This is true for every heavily multi threaded application.
For generating electriciy? In 130BC?
I couldn't care less about the "The experience of shopping". I welcome any invention that will shorten the time for me to actually get the stuff I'm after.
At least in Java, it's very simple to set a whole site up to use UTF-8 all over once and for all, and thanks to the native support for unicode throughout the language everything just works, automatically.
I can't remember seeing a single PHP app that handled multiple languages in any was even closely resembling sane.
Very true. Also, the guy who wrote the article seems to have no knowledge of local interfaces. But, I guess I can't demand that magazine writers follow the latest developments, they've only been around for a couple of years.
Linux machines don't usually run on batteries.
Bluetooth might very well be beaten by 802.11 for internet connectivity. Sure, but that's really not what Bluetooth is all about. Try putting 802.11 in your mobile phone and watch the battery drain away like CPU cycles in a Windows machine. Try putting 802.11 in your wireless mouse, C-Pen or a microphone?
The usage areas for 802.11 and Bluetooth only slightly overlap. They each have distinct advantages. Bluetooth is very cheap and consumes very little power. Those two advantages alone will keep it alive until something better comes along.
What makes you think I don't know anything about C#? Just because I disagree with you?
The point is silly though, since it's very easy on both platforms.
No, they are not. Microsoft has a long recorded history of doubtful behaviour.It always amazes me how people forget that this is slashdot. "supposed to work" bah! slashdotters spit at your "supposed to work".
Would you be so kind to explain to me exactly how many technologies that .net has that makes it a superset of Java? Maybe you haven't investigated J2EE, J2ME and all the other technologies that are part of the Java platform. Besides, Java has a much larger free software community. Freshmeat, for example, lists 2382 Java projects (that's less than 100 frewer than C++). To be compared to the 46 C# projects.
Want to implement a SOAP web service? Check out GLUE. It allows you to distribute any java object as a SOAP service using only 2 lines of code (one to start the server and one to register the object).
And if you don't want to listen to me, why not read this list. It contains some good stuff.
Why people spend their precious time on a project like Mono with such an unstable (legally) base is beyond me. Why the Linux community seem to embrace .net more than java is even more boggling.
(don't bother to answer, I can predict every single reply)
Can you contradict a contradiction?
I'm placing high hopes on this, but I'll hold off any rejoicing until I've seen it.
Everything? No, but a lot probably can. Personally I don't like python one bit, but I'd feel much safer if most of my day-to-day apps were written in it.
At the same time I have seen extremely lean effificent programs written in safe languages. And let me emphasise this again: Java is not the only safe language around, it's just the most popular right now, together with Python I guess.
If it was bad attitude on the programmers part to use development tools and languages to minimise errors and make us more effeient, we'd still be hand-coding everything in machine code.
Java is only one of the languages that completely prevent stuff like buffer overrun exploits etc. In fact, pretty much every single language except C and C++ do.
I can't link you to any sites with more information since most of what I know about his life comes from a documentary I watched on (i think) Discovery.
He did. He was in university when it happened. And besides, in all it's horribleness, it was probably a good thing for humanity he did, since he didn't really start to take an interest in his studies until after he became ill.
And exactly what does the "legal age" have to do with the drinking age?
I believe that most people have stopped laughing at the idea, which means it will be built in about 50 years, if Clarke is ot be believed.
But in a way I agree with you. When we look back at MS's "golden days", those days will probably (hopefully?) be some time before now.