Related articles |
---|
Current work in compiler/language design. hackeron@Athena.MIT.EDU (Harris L. Gilliam - MIT Project Athena) (1991-11-10) |
What's so great about dynamic binding? spitzak@girtab.usc.edu (1991-11-19) |
re: What's so great about dynamic binding? David.Chase@Eng.Sun.COM (1991-11-15) |
Newsgroups: | comp.compilers |
From: | David.Chase@Eng.Sun.COM (David Chase) |
Keywords: | linker, design, OOPS |
Organization: | Compilers Central |
References: | 91-11-030 91-11-071 |
Date: | Mon, 25 Nov 91 11:39:13 PST |
Bogus: | Dynamic binding means never having to say that the program is debugged, |
Bogus: | because new bugs can be written and added later. This guarantees full |
Bogus: | employment for computer programmers, and is this a Good Thing by the |
Bogus: | definition "What's good for me is a good thing." |
As far as really being a good thing, dynamic binding is one way to make an
"application" (compiler, mail-reader, spread-sheet) extensible in the
future. Given an interface, one can write extensions to deal with
situations that weren't foreseen by the original author. For example, one
might choose to dynamically load functions into a spreadsheet program, or
to dynamically load code into a mail-reader to interpret different types
of messages (sound, animation, video). The actual mechanism for doing
this could vary -- a dynamic linker could yank in an object file, or the
code could be interpreted, or else it could be compiled on the fly.
David Chase
Sun
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.