Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!haven!purdue!decwrl!shelby!polya!gilham From: gilham@polya.Stanford.EDU (Fred Gilham) Newsgroups: comp.sys.amiga Subject: Re: shared/loaded libraries vs. resident Message-ID: <8635@polya.Stanford.EDU> Date: 20 Apr 89 20:50:08 GMT References: <13492@louie.udel.EDU> Sender: Fred Gilham Reply-To: gilham@polya.Stanford.EDU (Fred Gilham) Organization: Stanford University Lines: 21 In article <13492@louie.udel.EDU> MROBINSON@wash-vax.bbn.com writes: > >Other than just general interest, I was thinking about writing an editor, >and in the far future worrying about making it resident, or making the >kernel a shared library. I've thought about this as a solution to the problem of running compiled lisp code in a lisp environment. How does the compiled code figure out where the builtins in the lisp interpreter are? Certainly you don't want to have the code for car or print or whatever in every compiled program. So just have everyone call a shared lisp-kernel library. The thing that concerns me about this is the performance hit. I read somewhere that the cost of a library call is about 100us. You really can't do anything about this, either; no optimization possible. The cost of a procedure call should be smaller (right?). I hope I'm not spouting nonsense... -Fred Gilham