Key Themes from the Discussion
| Theme | Supporting Quotations |
|---|---|
| 1️⃣ Building USB drivers entirely in userspace | “dfu-util actually also just uses libusb under the hood!” – WerWolv “Any class or device that doesn’t have a driver baked into the OS can be implemented like this.” – WerWolv “If you have a nonstandard protocol you’d have to add it directly to dfu-util...” – pjc50 |
| 2️⃣ Why prefer userspace drivers | “The code is much easier to write and debug, you just write code like you always would.” – WerWolv “Driver signing is a killer issue on Windows; …” – pjc50 “Bugs don’t have the possibility to taking down your entire system or introduce vulnerabilities.” – WerWolv |
| 3️⃣ High‑performance user‑space networking stacks | “OpenOnload: A user‑space network stack that intercepts socket calls to bypass the kernel network stack, accelerating standard socket operations.” “Netmap: A framework providing a simple API for high‑speed packet I/O in user space, bypassing much of the kernel overhead.” “In HFT user‑space networking drivers have a long history – there is too much latency induced by switching from kernel to user space.” – dist‑epoch |