io_splice RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [ANN] io_splice 1.0.0 - zero-copy pipe I/O for Linux
@ 2010-05-27 20:55 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2010-05-27 20:55 UTC (permalink / raw)
  To: ruby.io.splice

The splice family of Linux system calls can transfer data between file
descriptors without the need to copy data into userspace.  Instead of a
userspace buffer, they rely on an ordinary Unix pipe as a kernel-level
buffer.

* http://bogomips.org/ruby_io_splice/
* ruby.io.splice@librelist.com
* git://git.bogomips.org/ruby_io_splice.git

Changes:

io_splice is now easier to use, as it can take IO/File objects in
addition to raw file descriptors as arguments.

IO.vmsplice now always splices buffers in full, since it's too difficult
to use otherwise.  Keep in mind that the usefulness of vmsplice is still
questionable from Ruby and IO.writev (from the "io-extra" gem) is more
flexible as it allows writing to non-pipe descriptors.

IO.splice and IO.tee are unchanged and may still splice partial buffers.

There are also some code cleanups and improved documentation.

-- 
Eric Wong


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-27 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-27 20:55 [ANN] io_splice 1.0.0 - zero-copy pipe I/O for Linux Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/ruby_io_splice.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).