LWN.net Logo

That's why people attempt abstraction

That's why people attempt abstraction

Posted Aug 13, 2011 19:18 UTC (Sat) by cpeterso (guest, #305)
In reply to: That's why people attempt abstraction by djbw
Parent article: Avoiding the OS abstraction trap

Perhaps some platform-specific abstraction layers can be avoided if the driver design is inverted: have a cross-platform core that is called *from* the platform-specific code. The core can use event callbacks to invoke platform code.

The abstraction layers described in the article sound like they are focused on implementation details instead of capturing a higher-level "domain model". Admittedly, designing a platform-independent domain model for a kernel driver manipulating hardware sounds challenging.

https://secure.wikimedia.org/wikipedia/en/wiki/Domain-dri...


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds