logoalt Hacker News

weebulllast Wednesday at 1:12 PM1 replyview on HN

And hardware access. You absolutely can't write a hardware driver without unsafe.


Replies

bonzinilast Wednesday at 4:40 PM

There are devices that do not have access to memory, and you can write a safe description of such a device's registers. The only thing that is inherently unsafe is building DMA descriptors.