Re: Java Robot

John D. Pritchard (jdp@cs.columbia.edu)
Wed, 26 Jun 1996 10:42:45 -0400


> Major parts of my Java robot, are now reimplemented in Python. This is
> because Java doesn't have mutithreaded IO. So, it is impossible to write a
> fast robot, because it blocks all your other IO threads on a slow socket
> read or open. There is no way around this problem except running many
> processes, which use lots of memory.

Larry,

which platform are you on? i have the sources, but am not into them yet,
however would it not be true that open() blocking requires either kernel
level multithreaded IO or a java threads implementation based on processes
-- to create separate kernel level IO tables?

so this has really nothing to do with Java(tm:sun.com) aside from its
implementation. there are lots of ways to implement the JVM, but most of
them are inadequate for more interesting programs.

glad you have a nice implementation of Python.

-john