logoalt Hacker News

esikich • today at 4:49 PM • 1 reply • view on HN

In what language is compiling simple? Do you not like compiled languages? I'm not sure what you're complaining about here.


Replies

f1shy • today at 5:21 PM

Lisp is simple to compile. Even C (at the level this tool works anyway), also basic, and maybe other 100 languages (again, not the whole compiler, but what this tool shows).

Compilation per se is not difficult. Doing it with good error recovery, good feedback in case of error, and the optimization is difficult.

This tool does not tell me those parts (for that is gotbolt) this is about how the first layer of interpretation works, and not for making compilers, but for understanding what the code actually means, because is not obvious at first sight.

➕ show 2 replies