paperclips-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paperclips-discuss] GCC and Paperclips


From: Nic Ferrier
Subject: [Paperclips-discuss] GCC and Paperclips
Date: Sat, 30 Jun 2001 03:37:36 +0100

I've got Paperclips working with GCJ.

I haven't natively compiled Paperclips yet, just been using it with
gij (the gcj interpreter).

My main effort on this has been adding socket timeout support to the
GCJ javalib. It seems to work quite well (and it was fun).

I don't know how the GCJ people will want to pick up the fix yet... I
won't issue a patch for GCC till I know (because they may just accept
it into the next CVS snapshot).


Some interesting things about non-blocked io came up when I was doing
this:

- gcj's io stuff uses select() to implement timeouts on reads
- it might be possible to provide intelligent select()s for managing
threads
- caching of fd_set for reads could be an improvement
- gcj doesn't do write non-blocking at all... I wonder how much write
blocking there is?

Finding answers to some of these questions is going to take some
performance tests.


Nic



reply via email to

[Prev in Thread] Current Thread [Next in Thread]