home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19364 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.7 KB

  1. Path: sparky!uunet!mcsun!uknet!edcastle!edcogsci!cogsci!rjc
  2. From: rjc@cogsci.ed.ac.uk (Richard Caley)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: FLAME, FLAME ON X!!!
  5. Message-ID: <RJC.92Nov19154904@daiches.cogsci.ed.ac.uk>
  6. Date: 19 Nov 92 15:49:04 GMT
  7. References: <1683@igd.fhg.de> <1992Nov9.235741.25166@dsd.es.com>
  8.     <1992Nov18.183826.2652@lsl.co.uk>
  9. Sender: rjc@cogsci.ed.ac.uk
  10. Organization: Human Communication Research Center
  11. Lines: 28
  12. In-reply-to: snail@lsl.co.uk's message of 18 Nov 92 17:38:26 GMT
  13.  
  14. In article <1992Nov18.183826.2652@lsl.co.uk>, snail  (s) writes:
  15.  
  16. s> *** This is not a UNIX feature, this is a C feature, to be found on
  17. s> PCs, Ataris , UNIX boxes, VAXes etc. This a feature, ie: C is
  18. s> designed this way. ****
  19.  
  20. Er, no. C only specifies that you have malloc and free. How those are
  21. implimented is up to the person writing the library. It's a unix
  22. problem in as far as many unixes don't allow memory to come back and
  23. that made mallocs which _could_ return memory non-starters, other
  24. system inherited from there. As for messydos, the best memory
  25. reclemation scheme is to wipe the disk and install an operating system
  26. to give the memory back to.
  27.  
  28. Lets say it's a feature of poor memory allocators, with a rider that
  29. memory allocation is one of those problems where just about anything
  30. general is poor and anything good is so specific it will be awful in
  31. some common cases. I'd love to be proved wrong here, while you're at
  32. it, a perfect garbage collector and P=NP would be nice too. :-)
  33.  
  34. Sorry, not very X related anymore, but it looked like a misconception
  35. that needed to be nailed before we all have to live with non-returning
  36. mallocs for ever 'cos people think they have to be that way...
  37.  
  38. --
  39. rjc@cogsci.ed.ac.uk            _O_
  40.                      |<
  41.             
  42.