Post #1953784
2026-04-20 06:32 UTC
@kevinmehall fair enough, i should ~eventually~ re-study nusb and compare notes
there's _lots_ of weird impedance mismatches in all sorts of places when dealing with USB (see e.g. windows and composite device 🙀)
something that i also want to see in future rust apis is some way of dealing with OS optimization tricks (e.g. LowLatencyReadIsochPipeAsync on macos, zerocopy mmap on linux)
Replies (1)
-
@kevinmehall@hachyderm.io 2026-04-20 06:39
@r nusb does expose zero-copy mmap for what it's worth: https://docs.rs/nusb/latest/nusb/struct.Endpoint.html#method.allocate