Sophie

Sophie

distrib > PLD > th > ppc > by-pkgid > 713275ca0f255ab47f4b3aebc70ce420

ruby-nio4r-2.1.0-3.i686.rpm

Description:

When it comes to managing many IO objects on Ruby, there aren't a
whole lot of options. The most powerful API Ruby itself gives you is
Kernel.select, and select is hurting when it comes to performance and
in terms of having a nice API.

Once upon a time Java was a similar mess. They got out of it by adding
the Java NIO API. Java NIO provides a high performance selector API
for monitoring large numbers of file descriptors.

This library aims to incorporate the ideas of Java NIO in Ruby. These
are:
- Expose high level interfaces for doing high performance IO, but keep
the codebase small to encourage multiple implementations on different
platforms
- Be as portable as possible, in this case across several Ruby VMs
- Provide inherently thread-safe facilities for working with IO
objects

Other version of this rpm: