This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
From: Alfred Wallner [mailto:awallner@ONEBOX.COM] Sent: Monday, May 21, 2001 11:41 AM To: KVM-INTEREST@JAVA.SUN.COM Subject: Re: slow socket connection My experience with networking is that java is much slower than native code, I'd say at least 2 or 3 times slower. It's one of the main reasons why I am giving up on java on the palm for now anyway.
This doesn't sound right to me. I imagine that although there may be a little bit of overhead because Java wraps the OS socket, it should be marginal, and that most JVMs, once the socket has been created, can very quickly pass the data through to the OS layer. Of course, in this particular case, we're talking about the kVM, and sockets n the Palm OS may be very different from those on PC OS'es. My two questions are: 1) Are sockets slower on PCs? How much slower? why? 2) Is this different for the kVM? --Mark firstname.lastname@example.org