lua-users home
lua-l archive

Re: C++ Lua modules not compatible with every Lua interpreter?

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



On Mar 24, 2013 2:09 AM, "steve donovan" <steve.j.donovan@gmail.com> wrote:

> Under Unix, shared libraries etc are much more tolerant of where the
> symbols come from.

s/Unix/the System V Unix shared library model/

There's pressure from both ends of time. SVR4 shared libraries were somewhat unpopular because of all the overhead involved. Previous/legacy systems like OSF/1, AIX, HP/UX, Linux libc4 did not do relocation during runtime loading; libraries were at fixed locations in memory. And options for symbol versioning and controlled resolution in very modern systems move away from a flat symbol namespace to avoid various *internal* DLL Hell issues in plugin-heavy applications.

I have a feeling the only Unix system the (technically nonofficial) official Lua shared object technique really works right on is SunOS 4. Maybe some of the little vendor 4.3BSD ports too.

Jay


AltStyle によって変換されたページ (->オリジナル) /