|
|
Subscribe / Log in / New account

Libraries

Libraries

Posted Sep 4, 2007 12:20 UTC (Tue) by nix (subscriber, #2304)
In reply to: Libraries by mjthayer
Parent article: LinuxConf.eu: Documentation and user-space API design

That way lies alsa-lib, commonly regarded (by seemingly everyone but the ALSA developers) as a really Bad Idea.


to post comments

Libraries

Posted Sep 4, 2007 13:49 UTC (Tue) by mjthayer (guest, #39183) [Link] (1 responses)

Anything can be done wrong :) (Note that I have never programmed Alsa, so I can't comment there.) However, glibc essentially does the same, with the difference that at least on Linux the underlying interfaces are guaranteed. And unlike Alsa the interfaces and the library are maintained by different people, which might not be such a bad thing.

Libraries

Posted Sep 4, 2007 14:56 UTC (Tue) by nix (subscriber, #2304) [Link]

glibc provides an interface between kernel syscalls and userspace, yes, but interfaces don't appear in glibc until the kernel syscall ssemantics have been nailed in stone, and glibc then maintains those semantics forevermore, using compatibility code to ensure that if necessary (see e.g. the behaviour of nice()).


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