Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

The Blub Paradox

Name: Anonymous 2016-02-16 12:28

If Lisp is more expressive than C, why Lisp can be compiled into C and C cannot be compiled into Lisp?

Name: Anonymous 2016-02-20 4:59

>>6
I would say that C exposes the hardware details to the programmer, whereas Lisp abstracts them away giving you a pure expression model. Lisp compiler writers create ways to infer types, model ABIs to support the Lisp environment directly in machine code, and so on, and everybody wins.

Now, since the C language itself doesn't give a fuck about machine details but will directly affect the nature of programmer-exposed variable types and operations, it will compile your code for you, but your it will break if the assumptions aren't all correct. Which is common especially since most C code ends up rely on Undefined Behaviorâ„¢.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List