Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #16868
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | James Kuyper <jameskuyper@verizon.net> |
| Newsgroups | comp.lang.c, comp.lang.c++, comp.unix.programmer, comp.lang.javascript, comp.lang.lisp |
| Subject | Re: avcall, callback, trampoline, vacall, etc |
| Date | Thu, 25 Oct 2012 16:04:10 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 34 |
| Message-ID | <50899B3A.6090403@verizon.net> (permalink) |
| References | <dfa26195-ed53-41e7-afb6-6f59d556a154@3g2000yqn.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| Injection-Info | mx04.eternal-september.org; posting-host="d8fef572ea43a1acd556896aa70d63af"; logging-data="26279"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BFbx01ssgj2pDGrX+HcOlecKjpcj6jUQ=" |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 |
| In-Reply-To | <dfa26195-ed53-41e7-afb6-6f59d556a154@3g2000yqn.googlegroups.com> |
| Cancel-Lock | sha1:GLHrySJLEN5iK4f/DlgXnuhj5yg= |
| Xref | csiph.com comp.lang.c:27687 comp.lang.c++:19236 comp.unix.programmer:3649 comp.lang.javascript:16868 comp.lang.lisp:11742 |
Cross-posted to 5 groups.
Show key headers only | View raw
On 10/25/2012 03:24 PM, gnuist007@hotmail.com wrote: > Dear Programming Gurus, > > These concepts are rather well talked about .. over the internet and > usenet, however, I cant find any clear explanation. > > avcall, callback, trampoline, vacall, etc > > I looked in a book of C programming, ie k&r and also the rationale for > C, an old copy and could not find any explanation. > > I know that javascript books talk a lot about callbacks and there is > the style of programming involving writing callbacks and registering > them. Unfortunately, in the age when I took my C class, there was no > discussion along these lines. > > Can anyone give clear definition, example, benefits, variations, > origin or citation to a paper where it originated and explained first, > as well as some modern text that does the better than most job of > illustrating it and its applications. When a C function takes as an argument a pointer to another function, the function pointed at is often referred to as a callback function. Examples from the C standard library include qsort() and bsearch(), where the callback function is called in order to determine the relative order of the records processed by those functions. I know nothing about vacall or avcall. I've heard of trampolines in the context of computer programming, but know little about them. For all questions like this, I would recommend starting with wikipedia - it generally does a good job of explaining computer-oriented technical terms like these; if you don't find it there, try google.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
avcall, callback, trampoline, vacall, etc gnuist007@hotmail.com - 2012-10-25 12:24 -0700
Re: avcall, callback, trampoline, vacall, etc James Kuyper <jameskuyper@verizon.net> - 2012-10-25 16:04 -0400
Re: avcall, callback, trampoline, vacall, etc Gene Wirchenko <genew@ocis.net> - 2012-10-25 14:55 -0700
Re: avcall, callback, trampoline, vacall, etc Paavo Helde <myfirstname@osa.pri.ee> - 2012-10-25 15:46 -0500
Re: avcall, callback, trampoline, vacall, etc Cortez <relativeflux@hotmail.co.uk> - 2012-10-25 13:47 -0700
Re: avcall, callback, trampoline, vacall, etc Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-10-25 20:18 -0600
Re: avcall, callback, trampoline, vacall, etc gnuist007@hotmail.com - 2012-10-26 10:11 -0700
Re: avcall, callback, trampoline, vacall, etc "Pascal J. Bourguignon" <pjb@informatimago.com> - 2012-10-28 18:56 +0100
Re: avcall, callback, trampoline, vacall, etc Rivka Miller <rivkaumiller@gmail.com> - 2012-11-05 16:28 -0800
Re: avcall, callback, trampoline, vacall, etc Les Cargill <lcargill99@comcast.com> - 2012-10-26 07:27 -0500
Re: avcall, callback, trampoline, vacall, etc gnuist007@hotmail.com - 2012-10-26 10:16 -0700
Re: avcall, callback, trampoline, vacall, etc Les Cargill <lcargill99@comcast.com> - 2012-10-26 12:42 -0500
Re: avcall, callback, trampoline, vacall, etc James Kuyper <jameskuyper@verizon.net> - 2012-10-26 14:08 -0400
csiph-web