Re: Goal: Increased Modularity?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill Nottingham wrote:
Les Mikesell (lesmikesell@xxxxxxxxx) 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.

Won't anything using a shared library break if you replace that library with one that does not follow the same interface definition whether it's dlopen()ed or not? That's kind of the whole concept of interfaces - they aren't supposed to change. If you write a new one, call it something else.

--
  Les Mikesell
    lesmikesell@xxxxxxxxx

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux