3 ms·
With a compiler smart enough to aggressively cull any uneeded dynamism, it might be possible. But it would still be hard.
by qwertyuiop924 10y ago
With a compiler smart enough to aggressively cull any uneeded dynamism, it might be possible. But it would still be hard.
- kazinator 10y agoA pragmatic view, perhaps, is that as a tool, a given Lisp environment doesn't constraint how fast a solution we can devise to a problem in some manner. That really fast solution might not simply be a Lisp program fed to the Lisp compiler. Suppose you're required to solve a problem with very high performance, and it has to be expressed in some high level language. No high level language achieves it using any straightforward code without dropping to assembly language. Not C, nothing. In that situation, I'd arm myself with Lisp, because the problem basically requires inventing some specialized fast language and mapping it to the machine at hand.
- qwertyuiop924 10y agoSo a custom Assembler using CL as a macro language? That works.
- junke 10y agoSB-ASSEMB, for example. https://www.pvk.ca/Blog/2014/03/15/sbcl-the-ultimate-assembly-code-breadboard/ https://www.pvk.ca/Blog/2014/03/15/sbcl-the-ultimate-assembl...