• Post Reply Bookmark Topic Watch Topic
  • New Topic

Socket Speed  RSS feed

Mark Herschberg
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

From: Alfred Wallner [mailto:awallner@ONEBOX.COM]
Sent: Monday, May 21, 2001 11:41 AM
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!