Questions tagged [backend]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
1 answer

A lambda calculus backend without data constructors and `case`, what could go wrong?

I'm working on a lazy lambda calculus backend. I'm roughly following the concepts from Implementing functional languages: a tutorial. It presents Core as an intermediate language, and it has data ...
Bubbler's user avatar
  • 693
16 votes
7 answers

What are the pitfalls of using an existing IR/compiler infrastructure like LLVM?

Using something like LLVM when designing a compiler has a lot of advantages, since tons of work can be saved by using an existing optimizer and code generation for a variety of platforms. Even large, ...
Rydwolf Programs's user avatar
2 votes
1 answer

Why would you choose a LLVM over a GCC back-end or vice versa for a compiled language?

LLVM and GCC are two popular choices for back-ends. They both have good compilation frameworks. What are the advantages and disadvantages of each? Credit to Mousetail for the idea on Area 51
Starship - On Strike's user avatar
10 votes
1 answer

Runtime/Backend for a lazy, pure functional, lambda-calculus-based language?

I'm thinking of writing a toy language based on lambda calculus. I want it to be lazily evaluated. I/O is not a concern for now; main will be a pure function that ...
Bubbler's user avatar
  • 693