ABI mutation (was New kernels and old distributions)
Posted Aug 3, 2006 2:39 UTC (Thu) by
davecb (subscriber, #1574)
Parent article:
New kernels and old distributions
A million years ago I was on a project hosted at
HI-Multics.ARPA, and had to learn how Multics
dealt with API and ABI changes
To brutally oversimplify, one version-numbers
the interfaces (well, structs, actually), and
provides updaters and downdaters, so that the
producer and consumer can change asynchronously
with each other.
I've used this on Unix to avoid flag-days
in a project that had a common main producer and a bunch of
library-based back-end consumers.. The main program
author (Hi, Edsel!) could change the interface
and add an an adaptor function to main, and my
consumers would automatically do the right thing.
I
could then change the consumers when I had time.
--davecb@spamcop.net
(
Log in to post comments)