News for hackers. Stuff that matters.
Re:IPC in Rust – A Ping Pong Comparison by gpderetta on Wednesday June 19, 2024 @12:30PM (#40729813)
build an Event Count on top of eventfd and you can get fast pathed blocking behavior on your shared memory queue that it is also async awaitable on top of your event loop of choice.
Re:IPC in Rust – A Ping Pong Comparison by bfrog on Wednesday June 19, 2024 @03:32PM (#40731647)
So add some syscalls and slowness to what should amount to a spsc atomic queue in memory? No thanks!
Re:IPC in Rust – A Ping Pong Comparison by gpderetta on Wednesday June 19, 2024 @05:27PM (#40732566)
The fast path can still be fast. You can make the blocking behaviour optional for those that need it.