Re: Different concept for drivers?

From: Michael Witten
Date: Sun Aug 14 2011 - 19:54:25 EST


On Sun, Aug 14, 2011 at 18:36, Bryan Donlan <bdonlan@xxxxxxxxx> wrote:
> LWN has an interesting article on the costs of abstraction layers:
> http://lwn.net/SubscriberLink/454716/acf6d97d36960ead/
> Basically, you're limiting yourself to the lowest common denominator
> of OS functionality there, so at the very least you're losing
> performance, and probably functionality as well.

That's really the crux of the issue.

As long as critical code may still easily lift the veil of abstraction
(in well-defined ways!) and tinker around by hand in order to achieve
optimal performance and implement special features, then some kind of
abstraction layer could indeed be very useful in propagating code
quality for at least the lowest common denominator of functionality.

However, it seems more appropriate to provide an API rather than
various DSLs/VMs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/