Re:A Story about Symbolics Lisp Machines
by physguy1123 on Monday September 21, 2015 @10:54PM
(#10256404)
> The garbage collection in your web browser is complete, utter garbage compared to what Lisp people were doing 30-40 years ago. Sorry!
Can you back that statement up? GC has advanced heavily over the years (and still is).The first paper on generational GC was published in 1984, and I would imagine that it has drastically improved since then. I don't think that generational GC even landed in SBCL until sometime around 2005.
Without anything to back that up, your post just sounds like Lisp fanboyism.
Re:A Story about Symbolics Lisp Machines
by lispm on Tuesday September 22, 2015 @12:56AM
(#10256680)
You could read the chapters on memory management and GC in the Symbolics Genera 8 manuals: areas, generations, resources, ephemeral GC, generational copying GC, full GC, ...
http://bitsavers.informatik.uni-stuttgart.de/pdf/symbolics/s...
Re:A Story about Symbolics Lisp Machines
by gnaritas on Tuesday September 22, 2015 @12:03AM
(#10256569)
Not the OP, but LISP machines had hardware incremental GC, I'd say GC in the hardware is pretty bad ass and was probably more predictable than modern software based GC.
Re:A Story about Symbolics Lisp Machines
by kristianp on Tuesday September 22, 2015 @02:02AM
(#10256874)
"The C middleware that runs everything is full of "struct foo { struct foo * next; int other_field ... }"."
C datastructures most commonly used are Array of structs, Trees and Hashes. Linked lists are not commonly used I imagine. I don't have any stats to back that up though, neither did you.
Re:A Story about Symbolics Lisp Machines
by agumonkey on Tuesday September 22, 2015 @04:27AM
(#10257344)
It's still interesting to see the duality in both paradigms. Lisp goes for genericity with the cons based list, while "static languages" reimplements them under encapsulated names. I'm not trying to compare per se, just to look at both side of the coin.
Data structures are dictated by the requirements of what you're doing, not the machine. Linked lists are out? The C middleware that runs everything is full of "struct foo { struct foo * next; int other_field ... }".
Linked lists benefit from caching, like other kinds of data.
> Today you get garbage collections in your web browser that would embarrass any Lisp Machine ever built.
The garbage collection in your web browser is complete, utter garbage compared to what Lisp people were doing 30-40 years ago. Sorry!
(I will add to this comment later; I have to go to Task Manager and kill the web browser.)