56 points · by blue1 · 11y ago · 15 comments
The Symbolics refrigerator-sized LISP machine was one of the most expensive single-user machines ever built. It was designed as the ultimate hacker toy, with a MIT Space Cadet keyboard.[1] Price/performance wasn't that great. Reliability was poor. Service was awful, because it needed on-site servicing and Symbolics didn't have enough local offices. The original garbage collector could take hours, because the virtual memory and the garbage collector did not play well together. Symbolics as a company was quite arrogant. They had the attitude "We are the one gateway to AI".
Soon, LISP compilers for UNIX workstations were written, and Symbolics lost their exclusivity. Later Symbolics products were better, but unnecessary. Around that time, the expert systems bubble deflated. So did the LISP industry.
(I once did a lot of work in LISP, but mostly on Franz LISP on Sun workstations. I used an early Symbolics refrigerator briefly. Cool, but inefficient.)
[1] http://en.wikipedia.org/wiki/Space-cadet_keyboard#mediaviewe...
This is of course nonsense. Even an in-order implementation with non-blocking caches will let execution proceed in parallel with a load until the result is demanded. An actual out-of-order implementation will rename the (implicit) registers and proceed as normal.
The _only_ issue with stack architectures is that they are awkward (but not impossible) for compilers to generate optimized code for.
EDIT: I agree with basic motivation for pushing all the way to hardware (just not for Lisp). That's why I work on https://github.com/tommythorn/Reduceron
Oh. HN frontpage. That's cool I guess.
Well I have plans for today, so I'm sorry that I won't be sitting here defending my article.
However if you hit me up on twitter at the link at the bottom or email me at my listed email address I'd be more than happy to respond and debate this piece in due time.
Cheers! Reid
Also, does the author not understand that most Common Lisp implementations are already built on assemblers implemented in Lisp, generally with portable intermediate representation DSLs generating native machine code?
(Meta: is creating a sock puppet account really necessary to rag on a blog post?)
Also, if it's large and you're bound by compute time rather than memory bandwidth, iterating a single vector will be slower than splitting it up between threads.
Also, if your data to work on is being streamed in, having to make the choices in managing the allocations & uses of std::vector buffers is much less useful than having the system heuristically balance in a more managed environment.
So, no, C++ std::vector isn't a silver bullet except for microbenchmarks, where other languages can (or should be able to) match. And vector iteration has nothing to do with GC.
This is absolutely, massively untrue. If you try making compilers sometimes, you will see how very hard it is for compilers to be sure about anything.
For example: Are you calling a function anywhere inside that iteration? Is this a copying collector? Could anything that function does (or anyone it calls) possibly cause a GC, or cause us to be confused enough that we can't tell whether a GC might happen or not? Then you need read barriers on all your operations in this function, i.e. your iteration is going to be slow.
"Also, if your data to work on is being streamed in, having to make the choices in managing the allocations & uses of std::vector buffers is much less useful than having the system heuristically balance in a more managed environment."
Also absolutely, massively untrue. Your application knows more about its use cases than the generic systems it is built on (which must handle many many different kinds of programs). Because your application knows what is meant to happen, it can make much better performance decisions.