Daniel Berger
Posts: 1383
Nickname: djberg96
Registered: Sep, 2004
|
Daniel Berger is a Ruby Programmer who also dabbles in C and Perl
|
|
|
|
NIO for Ruby?
|
Posted: Feb 2, 2005 8:41 PM
|
|
|
This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
|
Original Post: NIO for Ruby?
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
|
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Daniel Berger
Latest Posts From Testing 1,2,3...
|
|
I was once again reading Rich Teer's Solaris Systems Programming when I came across the asynchronous I/O stuff. I know Java has the NIO stuff but, at the moment, Ruby does not.
How hard would it be to add aio_read, aio_write, aio_waitn and aio_cancel? Not too difficult, really. I'd have to check for any platform specific issues, though. The only question I have (and already asked) is whether these should be added to the IO class, or perhaps added to the standard library as a new NIO class.
Otherwise, gimme asynchronous I/O!
Read: NIO for Ruby?
|
|