ronomon/direct-io
View on GitHub ↗ ★ 77 C
Direct IO helpers for block devices and regular files on FreeBSD, Linux, macOS and Windows.
5 mentions on Hacker News by 1 person: 1 story, 4 comments · first 2017-09-26 · latest 2021-01-24
20082026
-
I wrote this for Node.js, which is a native binding in C, exposing cross platform functionality: https://github.com/ronomon/direct-io Although if it's a new project and you're used to C, I would recommend also taking a good look at Zig (…
comment by jorangreef · 2021-01-24 · in But how, exactly, do databases use mmap? -
How would you implement https://github.com/ronomon/direct-io with WebAssembly? Native modules exist because people sometimes need to drop down to work with the platform directly.
comment by jorangreef · 2018-09-13 · in Yarn Plug'n'Play: Getting rid of node_modules -
…a little more by using O_DSYNC, so that your write is not faster than the related CPU work. [1] https://github.com/ronomon/direct-io .
comment by jorangreef · 2017-10-24 · in Filesystem error handling -
…that some SSD drives have 8192 or 16384 bytes as a "physical sector" page size / block size. [1] https://github.com/ronomon/direct-io
comment by jorangreef · 2017-10-06 · in I/O Access Methods for Linux