TIL: io_uring

2022-08-29

There is a whole new, high performance, async way of performing linux syscalls that is taking shape and is widely available already.

Put simply, io_uring is a system call interface for Linux. It was first introduced in upstream Linux Kernel version 5.1 in 2019 [1]. It enables an application to initiate system calls that can be performed asynchronously. Initially, io_uring just supported simple I/O system calls like read() and write(), but support for more is continually growing, and rapidly. It may eventually have support for most system calls

This could have large implications for a high performance package manager.

Go lang kinda sucks for using io_uring at the moment. Let’s check on rust…

Rust looks a little better but still pretty nascent.