Hacker News new | ask | show | jobs
by errantspark 1664 days ago
> Drivers are mostly not too hard

Except when they are, which is anytime something is poorly documented, which is pretty much all the time. Let's not even get started on vendors who don't WANT you to write drivers for their hardware.

> Hell, Apple OSes barely support any hardware.

Would be interesting to see an OS target specifically Apple HW to make it a bit easier on the devs.

1 comments

For any hardware you're likely to support on v1, there's probably a FreeBSD driver, a NetBSD driver, a Linux driver, and if you're lucky a leaked datasheet that's easy to search for. And a windows driver if you're desperate enough to disassemble that.

If that's not documentation, I dunno what is. Each of them will be wrong, of course, but they're all likely to be wrong differently, so you can learn from the differences.