https://www.spinellis.gr/blog/20191214/
Convert file I/O into pipe I/O with /dev/fd

Some Unix commands read data from files or write data to files, without
offering an obvious way to use them as part of a pipeline. How can you
write a program to interact with such a command in a streaming fashion?
This would allow your program and the command run concurrently, without the
storage and I/O overhead of a temporary file. You could create and use a
named pipe, but this is a clunky solution, requiring you to create and
destroy a unique underlying file name. Here's a better approach.

Modern Unix systems offer a virtual device directory named /dev/fd/. The
files in it correspond to the file descriptors of each process. ...

https://www.youtube.com/watch?v=nPXdbm9lc3A Hot Chips Tutorial2: RISC-V
2019-08-18

This tutorial provides an introduction to the RISC-V open ISA, the software
development ecosystem built around it, and two open-source cores that have
been created to use it.

Overview of the RISC-V ISA
Krste Asanovic, UC Berkeley

Overview of RISC-V SW Ecosystem
Bunnaroath Sou, SiFive

Overview of Open Source Cores I: Rocket/BOOM
Howard Mao and Jerry Zhao, UC Berkeley

Overview of Open Source Cores II: Pulp
Fabian Schuiki, ETH Zurich
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main
  • Links: file I/O into pipe I/O with /dev/fd, Hot... Rodney Brown via luv-main

Reply via email to