libpw.a
Root Boy Jim
rbj at dsys.icst.nbs.gov
Tue May 2 07:22:33 AEST 1989
? From: Root Of All Evil <root at yale.uucp>
? jfh at rpp386.Dallas.TX.US (John F. Haugh II) writes:
? <stuff deleted>
? >..... I always enjoyed SNOBOL and LISP programming
? >because you use the stuff, then toss it, then use it again. In C
? >and others, memory management is a CHORE.
? C is not a language to do string processing in. C is designed to
? be efficient for SYSTEMS programming. Do we really want
? garbage collection in the language used for the kernal of the operating
? system? Sounds pretty silly to me. If you want to program in Lisp, program
? in Lisp. Don't expect C to provide you with a Lisp environment.
If GC can be done by adding a constant to the stack pointer (or copying
the frame pointer), then yes, I want it in the kernel. In that case,
alloca is more efficient than malloc/free. Think about it.
And while we're at it, unwind-protect and catch/throw are cleaner
than setjmp/longjmp as well. Sigh, maybe in C++++.
? -Scott Berryman
? berryman at CS.YALE.EDU
Root Boy Jim is what I am
Are you what you are or what?
More information about the Comp.unix.wizards
mailing list