Re: GC in Jon's raytracing benchmark
- From: Joerg Hoehle <hoehle@xxxxxxxxxxxxxxxxxxxxx>
- Date: 12 Sep 2005 10:44:03 +0200
"Rob Thorpe" <robert.thorpe@xxxxxxxxxxxx> writes:
> Joe Marshall wrote:
> > Huh? Nearly any object created with defstruct or defclass has pointers.
> I don't know about defclass, but defstruct is a macro that uses cons
> cells and symbols internally isn't it?
Huh? You've been reading a paper from a 1970'ies Lisp or what? You
know, thoses Lisps that only knew CONS, FIXNUM, SYMBOL types and where
(CDR <some-symbol>) would get to its property list, which would of
course also hold the symbol's print name. :)
Try DISASSEMBLE in a Common Lisp with a native code compiler.
Did you ever use DEFSTRUCT without its TYPE option?
Actually, you're completely right: any macro uses cons cells and
symbols internally for the simple reason that it must expand to
another Lisp expression. It is common knowledge that these are mostly
made of cons cells and symbols, backquote (for the non-purists) and a
few minor data types named atoms but not otherwise worth mentioning. :-)
Regards,
Jorg Hohle
Telekom/T-Systems Technology Center
.
- Follow-Ups:
- Re: GC in Jon's raytracing benchmark
- From: Rob Thorpe
- Re: GC in Jon's raytracing benchmark
- References:
- GC in Jon's raytracing benchmark
- From: Rob Thorpe
- Re: GC in Jon's raytracing benchmark
- From: Juho Snellman
- Re: GC in Jon's raytracing benchmark
- From: Rob Thorpe
- Re: GC in Jon's raytracing benchmark
- From: Jon Harrop
- Re: GC in Jon's raytracing benchmark
- From: André Thieme
- Re: GC in Jon's raytracing benchmark
- From: Jon Harrop
- Re: GC in Jon's raytracing benchmark
- From: Rob Thorpe
- Re: GC in Jon's raytracing benchmark
- From: Jon Harrop
- Re: GC in Jon's raytracing benchmark
- From: Rob Thorpe
- Re: GC in Jon's raytracing benchmark
- From: Joe Marshall
- Re: GC in Jon's raytracing benchmark
- From: Rob Thorpe
- GC in Jon's raytracing benchmark
- Prev by Date: Re: Where does the drive to syntax come from?
- Next by Date: Re: "unquoting" macro arguments
- Previous by thread: Re: GC in Jon's raytracing benchmark
- Next by thread: Re: GC in Jon's raytracing benchmark
- Index(es):
Relevant Pages
|