4 ms·
This is really exciting work - it has the potential to make Linux software services way, way more efficient. I look forward to seeing the impact that this chan
by boffinAudio 4y ago
This is really exciting work - it has the potential to make Linux software services way, way more efficient.
I look forward to seeing the impact that this change has, for example, on future builds. A significant amount of time is spent at the beginning of a process spawn, setting things up - being able to batch things up without the process startup load, is going to make things much, much faster. Process pools? Yes please! :) I will definitely be a customer of posix_spawn() when its ready ..
One has to wonder, though, given Josh' work with Rust, if any of this work is going to be done in Rust? One can dream ..
- JoshTriplett 4y ago> One has to wonder, though, given Josh' work with Rust, if any of this work is going to be done in Rust? One can dream .. Not yet, since the Rust-in-Linux work hasn't been merged yet. And even once it is, it won't be usable in the core kernel yet. But I'm hopeful that io_uring will be able to make use of Rust in the future. And the userspace bits will definitely be possible to do in Rust. As soon as this ships in a stable kernel, I plan to add a code path in the Rust standard library to launch processes this way. :)