Eric Wong <normalperson / yhbt.net> wrote:
> A better idea would be to get a kgio-like API into Ruby itself and
> encourage people to start using that.  kgio itself will never take off
> since it's *nix-only and written in C, so it should be moved into Ruby
> and the Ruby spec itself if people really want it (without the ugly
> "kgio_" prefixes everywhere).

I've started working on a "try" branch on top of Ruby trunk:
http://bogomips.org/ruby.git?h=try

I've only made one commit implementing IO#trywrite:
http://bogomips.org/ruby.git/commit/?h=try&id=bd0d59fe162d0f1069df4cd3dc86a7a303c4930d

If there's interest, I'll work on it more (and more frequently)
or email patches/pull requests.

-- 
Eric Wong