Goal: Increased Modularity?

Bill Nottingham notting at redhat.com
Wed Sep 5 19:17:26 UTC 2007


Les Mikesell (lesmikesell at gmail.com) said: 
>> dlopen will cause you to break at runtime instead of buildtime if
>> ABI changes - that's not good.
>
> You should expect things to break when you change an interface - pretty 
> much by definition.  If it hurts, don't do it.

I was discussing a case where instead of linking against libvorbis, you
dlopen() it - that's the sort of thing which is really much better to
catch at buildtime. If you're dlopening the plugin that is itself linked
against libvorbis (or whatever), that's better.

Bill




More information about the fedora-devel-list mailing list