Partial application in C

Art Boyne boyne at hplvly.HP.COM
Tue Jun 28 02:18:39 AEST 1988


djones at megatest.UUCP (Dave Jones) writes:
>From article <3353 at cognos.UUCP>, by jimp at cognos.uucp (Jim Patterson):
>[ Some machines: can't executet data as code ]
[ Why?  So we can't change executables?  Or a valid technical reason? ]

Another valid reason:  on virtual memory machines, when bringing in a new
page to memory from disk, a unmodifiable code page can simply be deleted,
whereas a (modified) data page must be written back to disk.  Having
unmodifiable code segments therefore reduces disk activity.

Art Boyne, !hplabs!hplvly!boyne 



More information about the Comp.lang.c mailing list