Arcane C Hacks

Henry Spencer henry at utzoo.UUCP
Sun Mar 16 12:40:44 AEST 1986


> > ...  a pointer
> > to a function is not necessarily a pointer to the bytes comprising its
> > code....
> 
> Interestingly enuf, Sequent, which uses the ns32032 micro with
> exactly this type of architecture, has backed away from it. Evidently
> they decided it was too much overhead to hack the debuggers and such.

The 32000 series does give you the option of doing this.  It's superficially
attractive, but not only does it cause problems with debuggers etc., it's
also pretty slow.  Unless you are doing something like dynamic linking where
you *must* resolve the name->address mapping at runtime, it's a loss.  There
are other machines, alas, where you don't get a choice.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.lang.c mailing list