On Wed, Aug 31, 2011 at 10:17:02AM +0200, Davorin Rusevljan wrote:
On Wed, Aug 31, 2011 at 10:11 AM, Marcus Denker <marcus.denker@inria.fr> wrote:
I wonder sometimes... Node.js seems to be a wrapper around a C-Library that provided async IO for all platforms. Wouldn't it be possible to provide binding for the C part of Node-JS and use that for async/Event based IO?
I think node.js uses libev:
http://software.schmorp.de/pkg/libev.html
I am out of depth here, but I suspect it might be a bit more difficult to wrap it than some classic library, since it might need to play nicely with VM.
Davorin
Are you talking about signaling the image when an IO event happens? If so, see http://wiki.squeak.org/squeak/3384. The plugin is included in standard unix VMs. Dave