home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!warwick!uknet!lsl!snail
- From: snail@lsl.co.uk
- Newsgroups: comp.windows.x
- Subject: Re: FLAME, FLAME ON X!!!
- Message-ID: <1992Nov23.132420.2670@lsl.co.uk>
- Date: 23 Nov 92 12:24:20 GMT
- References: <1683@igd.fhg.de> <1992Nov9.235741.25166@dsd.es.com> <1992Nov18.183826.2652@lsl.co.uk> <1992Nov18.194905.16185@cs.yale.edu>
- Organization: Laser-Scan Ltd., Cambridge
- Lines: 31
-
- In article <1992Nov18.194905.16185@cs.yale.edu>, rescorla@rtnmr.chem.yale.edu (Eric Rescorla) writes:
- >>*** This is not a UNIX feature, this is a C feature, to be found on PCs, Ataris
- >>, UNIX boxes, VAXes etc. This a feature, ie: C is designed this way. ****
- >>
- > I hope not. It's wrong. It is not part of the definition of the
- > C language or of malloc(3). It happens that it is a very common way to
- > do things, because sbrk(2) calls are expensive and it's not obviously
- > worthwhile to return memory to the system. (This is on Unix. I imagine
- > that similar conditions obtain on other machine.)
-
- Yes, As I've already stated to a few people by email, I was a bit over
- zealous there; it's a feature of the implementation of individual compilers.
- Each compiler team will do things differently. The point I was making, was that
- it is NOT a UNIX problem, it is OS independent. What I should also have said,
- is that it is a problem that rears it's ugly head in other languages as well,
- say, PASCAL or MODULA-2 (unless of course the language spec specifically says
- otherwise). I suspect, but don't know, that Prolog or Lisp may not have such
- problems, but I couldn't really see anyone implementing an X server in Prolog,
- could you?
-
- That said, my the spirit of original statement, if you change 'designed' for
- 'implemented' is generally true, most compilers don't give it back to the OS -
- damn shame. C'est La vie.
-
- Regards
- --
- snail@lsl.co.uk
-
- "para-phrasing an American's .sig"....
- For the record, I did not vote for Bill Clinton
- :-)
-