home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!bloom-beacon!bloom-picayune.mit.edu!daemon
- From: Peter MacDonald <pmacdona@tadpole.bcsc.gov.bc.ca>
- Subject: jump tables and X11 libs
- Message-ID: <1992Aug31.035920.26803@athena.mit.edu>
- Sender: daemon@athena.mit.edu (Mr Background)
- Reply-To: pmacdona@tadpole.bcsc.gov.bc.ca
- Organization: The Internet
- Date: Mon, 31 Aug 1992 03:59:20 GMT
- Lines: 29
-
- Personally, I do not believe that NOT using jump tables for X11 is
- a problem. First, the main reason for jump tables is that the libc
- et al, change continuously. And second, the shared libs form a
- heirarchy, with libc.a at the root. All changes ripple out from
- the root. Thus, asking for a recompile for libc is totally
- different than just asking for an X11 recompile. Third, since
- windowing/GUI S/W is much more time critical than other S/W
- (IMH!O) then omitting jump tables is probably a good idea.
- Also, I beleive that the X server (X386) is more likely to change
- than the Xlibs.
-
- Now Interviews, that is a different story. It changes a lot. So
- it should probably use jump tables. But as I understand it, jump
- tables handle everything automatically, except global data (normally
- a no-no in s/w engineerring and libs anyways, but like every rule,
- broken with aplomb). Thus the primary task of building a shared lib is:
- 1) hardcoding the location of global data, and
- 2) upon cutting the next version, adding the new functions to the end
- of the jump table.
-
- Finally, if an interface changes, then jump-tables (or any shared
- libs/DLL approach for that matter) will not save you.
-
- Belatedly, at this point, I acknowledge the fine work of David Engel
- in developing the jump tables. If I am off base in the above please
- feel free to flame me. And that most of the finest contributions towards
- Linux, have come from people who already have full plates, either in
- acedemia, or in the career sense. It is perhaps ironic, perhaps inevitable
- that those that can least afford to do so, do.
-