LLVM ist a mess
LLVM ist a mess
Posted Mar 18, 2024 23:48 UTC (Mon) by NYKevin (subscriber, #129325)In reply to: LLVM ist a mess by paulj
Parent article: Cranelift code generation comes to Rust
Fun fact: If your professor is sufficiently insane, it is possible that you will end up having to write an interpreter for the (untyped) lambda calculus. So count yourself lucky that you got a language that actually looked vaguely modern.
OTOH, I must admit that the lambda calculus is much, *much* easier to implement than most real languages. It only has 2½ rules, or 1½ if you use De Bruijn indexing. But I would've liked to do a real language, or at least something resembling a real language. I often feel that the most difficult courses were the only ones that actually taught me anything useful.
