Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Life after free?

4 views
Skip to first unread message

Tim Bomgardner

unread,
Oct 4, 1990, 11:34:36 AM10/4/90
to
In article <25...@cirrusl.UUCP>, dhesi%cir...@oliveb.ATC.olivetti.com (Rahul Dhesi) writes:
} In <26...@mimsy.umd.edu> ch...@mimsy.umd.edu (Chris Torek) writes:
} The compiler is free to, as Ron Natalie once put it, stuff arguments
} into an envelope and mail them off to the function being called...
}
} This idea has always seemed so quaint, but I wonder if it really works
} for pointers?
}

It does work, altho there is additional overhead. This is exactly how
remote procedure calls (RPCs) are implemented. Note that the "envelope"
is usually called a "packet" in this context, and while the compiler
COULD do it, it's usually handled elsewhere (i.e., library procedures
called "stubs").

0 new messages