Article View: comp.lang.misc
Article #7040Re: GNU Script isn't fixing something that's broken, so is doomed
From: Neil Jerram
Date: Wed, 09 Nov 1994 12:17
Date: Wed, 09 Nov 1994 12:17
48 lines
3339 bytes
3339 bytes
In article <39odfp$nvq@love.loyola.edu> bkuhn@justice.loyola.edu (Bradley M. Kuhn) writes: In article <398tet$9lp@csnews.cs.Colorado.EDU>, Tom Christiansen <tchrist@mox.perl.com> wrote: > A significant challenge will be for the >FSF to implement this great extension language and then provide a generic >API so that people building things don't HAVE to use it, so that they >could in fact, if they desired, used tcl or ksh or rexx or whatever. If >they don't do that, then it does seem to me that they've fallen into the >same ticklish trap that rms was complaining about: taking away choice by >locking in the extension language to the app. This is a good point. However, how would this work? It sounds as if Tom is propsing that the generic API go through C (or some lower level like that) rather then through the Scheme-like CL that GNU is proposing people write translators for to use their favorite extension langauge. Actually Tom's idea (if I understand it correctly now(!)) is far more fundamental than this and potentially far more exciting as well. He thinks that any extension language interpreters should run sort of as daemon processes separate from the main application process. The `source' application notifies the interpreter by IPC of the primitive functions that it provides. Any application (including the `source' application) can contact the interpreter to ask it to run a script (written in some extension language) that uses the primitive functions provided by the source application. (Which of course means that applications have to listen for events from the interpreter in the same way as they listen for events from the X server.) Thus individual applications do not have to include any interpreter code themselves, just a small library to communicate with the interpreter process. And the resulting functionality has enormous potential! I imagine that Tom will correct me if I have misrepresented his idea! The way *I* see it is that GEL as proposed will be a very good thing anyway, and then someone will write the IPC library and modifications to GEL that allow it to run in the way Tom would like. So hopefully we will end up with the best of all worlds and a significantly powerful system. Neil. Note: IPC = inter-process communication. What is API?
Technical Details
Message-ID:
<NJ104.94Nov9121749@hilsa.amtp.cam.ac.uk>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!nj104References:
<394kll$kso@csnews.cs.Colorado.EDU> <395rlr$3eh@csnews.cs.Colorado.EDU> <398lhg$b8f@mudraker.mtholyoke.edu> <398tet$9lp@csnews.cs.Colorado.EDU> <39odfp$nvq@love.loyola.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,9bda08f2f068881f X-Google-Attributes: gidf891f,public X-Google-Thread: 1025b4,9bda08f2f068881f X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1994-11-09 04:22:01 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!nj104 From: nj104@amtp.cam.ac.uk (Neil Jerram) Newsgroups: comp.lang.misc,gnu.misc.discuss Subject: Re: GNU Script isn't fixing something that's broken, so is doomed Date: 09 Nov 1994 12:17:48 GMT Organization: DAMTP, Cambridge University, UK Lines: 48 Message-ID: <NJ104.94Nov9121749@hilsa.amtp.cam.ac.uk> References: <394kll$kso@csnews.cs.Colorado.EDU> <395rlr$3eh@csnews.cs.Colorado.EDU> <398lhg$b8f@mudraker.mtholyoke.edu> <398tet$9lp@csnews.cs.Colorado.EDU> <39odfp$nvq@love.loyola.edu> NNTP-Posting-Host: hilsa.amtp.cam.ac.uk In-reply-to: bkuhn@justice.loyola.edu's message of 8 Nov 1994 17:45:29 GMT