Re: Lisp object code versus that of other languages



"jonathon" <j_mckitrick@xxxxxxxxxxx> writes:

> I've recently gone from Lisp (back) to assembly language to do some
> 'fun' stuff I haven't done in a long time. I've been looking at a few
> samples of Lisp object code (disassemble in sbcl) and found some pretty
> cryptic code.
>
> Is it true to say that Lisp produces more complex and/or cryptic code
> than, say, C/C++ and other languages that can compile direct to ML?

No. The Python compiler on x86 certainly does produce some cryptic
code, particularly when it's not optimizing for speed. The Allegro
compiler on SPARC produces quite readable code. Python on RISC
architectures is somewhere in between, as I assume would be Allegro's
compiler on x86.

--
/|_ .-----------------------.
,' .\ / | Free Mumia Abu-Jamal! |
,--' _,' | Abolish the racist |
/ / | death penalty! |
( -. | `-----------------------'
| ) |
(`-. '--.)
`. )----'
.


Quantcast