home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / lucidem / help / 669 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.7 KB

  1. Path: sparky!uunet!stanford.edu!agate!agate!usenet
  2. From: blojo@xcf.berkeley.edu (Jon Blow)
  3. Newsgroups: alt.lucid-emacs.help
  4. Subject: Re: GC idea
  5. Date: 10 Nov 1992 00:36:22 GMT
  6. Organization: Experimental Computing Facility, Univ. of California, Berkeley
  7. Lines: 26
  8. Message-ID: <asdglha3298ghsdgh-1@xcf>
  9. References: <9211060256.AA08035@thymus.synaptics> <9211060517.AA05701@thalidomide.lucid> <GRUNWALD.92Nov8212721@foobar.cs.colorado.edu>
  10. NNTP-Posting-Host: graft.berkeley.edu
  11. In-Reply-To: <GRUNWALD.92Nov8212721@foobar.cs.colorado.edu>
  12.  
  13. Dick Grunwald writes:
  14.  
  15. > Have others made efforts on this front before? If so, how did they
  16. > fare? This (better GC) would improve the user interface considerably,
  17.  
  18. Just recently, I finished a generational copying collector for a language
  19. I'm doing.  It is essentially a control language for a network server; it
  20. is driven by events that occur on TCP connections.
  21.  
  22. Anyway, I was thinking about how convenient it would be to use the time-gaps
  23. between user input (when the program would just be waiting in select()) to
  24. do partial garbage-collection.  I got pretty darn optimistic about the idea 
  25. (I'm currently working on a fuzzy controller to predict approximately how long
  26. one can time-out to garbage collect without bugging users); but I was thinking
  27. about the technique in general and I realized that there was only one other
  28. program that I could think of that this was applicable to:  emacs.
  29.  
  30. If you garbage-collect partially, you can take small timeouts (100ms) to
  31. do significant portions of gc work and not upset things very much.
  32.  
  33. Anyway, I will look at the internals of elisp to see how easy it would be
  34. to install a new gc.  Heck, I might even try it.                      
  35.  
  36. Has anyone else out there done this sort of thing?
  37.  
  38.   -Jon
  39.