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.
Posted Sep 4, 2007 13:49 UTC (Tue)
by mjthayer (guest, #39183)
[Link] (1 responses)
Posted Sep 4, 2007 14:56 UTC (Tue)
by nix (subscriber, #2304)
[Link]
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
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()).Libraries