2 ms·
> All JIT compilers have code as data - they have an IR. Lisp interpreters run mutable source code, not IR. > > dynamic CLOS dispatch with method combination
by lispm 11y ago
> All JIT compilers have code as data - they have an IR.
Lisp interpreters run mutable source code, not IR.
> > dynamic CLOS dispatch with method combination
> But these are optional features that you sometimes use. In Ruby all operations, method calls and most control structures
If you look at actual Lisp systems it's not optional. IO, Error handling, tools, ... all use CLOS.
> use the strongest form of dynamic dispatch available in the language.
CLOS uses a more dynamic form of dispatch.
> So I can't say Lisp is any more dynamic for the compiler than Ruby.
Using a compiler or interpreter makes no difference for CLOS.
- chrisseaton 11y agoWell I'm not an expert in compiling Lisp and I guess you're not an expert in compiling Ruby, so we're probably not going to come to an agreement on this.