summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..f8f1eb0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
+Despite unix(7) offering much more features than pipe(7),
+it is much faster. There is however two features unix(7)
+does not have: there is no guarantee that small writes are
+atomic, there is not support for splice(2)/tee(2) which
+is extremely efficient, and file descriptor hijacking is
+not support. The latter is a double-sided sword: it [the
+lack of support] increases security, but other processes'
+file cannot be opened and programs must treat /dev/fd/
+paths especially.
+
+![](graph.svg)
+
+send(3)/recv(3) is marginally faster than write(3)/read(3).