Nio4r

From Free Software Directory
 
Jump to: navigation, search


[edit]

Nio4r

https://github.com/celluloid/nio4r
Ruby library providing a selector API for monitoring IO objects

nio4r (New IO for Ruby) provides an abstract, cross-platform stateful I/O selector API for Ruby. I/O selectors are the heart of "reactor"-based event loops, and monitor multiple I/O objects for various types of readiness, e.g. ready for reading or writing.

The most similar API provided by Ruby today is Kernel.select, however the select API requires you to pass in arrays of all of the I/O objects you're interested in every time. nio4r provides a more object-oriented API that lets you register I/O objects with a selector then handle them when they're selected for various types of events.

nio4r is modeled after the Java NIO API, but simplified for ease- of-use.

Its goals are:

  • Expose high-level interfaces for stateful IO selectors. * Keep

the API small to maximize both portability and performance across many different OSes and Ruby VMs. * Provide inherently thread- safe facilities for working with IO objects.





Licensing

License

Verified by

Verified on

Notes

License

Expat

Verified by

Debian: Miguel Landaeta <nomadium@debian.org>

Verified on

1 August 2014

Notes

License: expat

License

Other

Verified by

Debian: Miguel Landaeta <nomadium@debian.org>

Verified on

1 August 2014

Notes

License: bsd-2-clause or gpl-2+




Leaders and contributors

Resources and communication

AudienceResource typeURI
Debian (Ref) (R)https://tracker.debian.org/pkg/ruby-nio4r
Ruby (Ref)https://rubygems.org/gems/nio4r
Downloadhttps://github.com/celluloid/nio4r


Software prerequisites




Entry










"Ruby (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.








Date 2015-07-17
Source Debian
Source link http://packages.debian.org/sid/ruby-nio4r

[[Category:]]



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.