emacs-devel
[Top][All Lists]
Advanced

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

Re: Dynamic loading progress


From: Paul Eggert
Subject: Re: Dynamic loading progress
Date: Fri, 20 Nov 2015 15:06:16 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Philipp Stephani wrote:
the Windows API uses this approach extensively
for version checking, and has been forward- and backward-compatible for
decades with it.

This sort of approach might work in the MS-Windows world, which has a single dominant supplier. It's not clear that it would work in the GNU/Linux world, where different suppliers have different ABIs. And even if one takes exactly the same Emacs source and module source and runs on the same operating system, one can easily build Emacs executables that won't interoperate with modules, simply by using different compiler flags. The sizes might match, but the code won't. So I don't think sizes will suffice, at least, not outside of MS-Windows.

Daniel's message pointed to JNI for an inspiration. JNI uses version numbers here (its GetVersion method), not sizes, I assume partly for the reasons discussed above. Shouldn't we do the same?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]