Skip to main content

Explore our questions

19 votes
5 answers
4k views

What is the difference between a compiler "frontend" and "backend"?

3 votes
1 answer
537 views

How are C11 compilers calculating by how much to change the stack pointer before `goto` if the program uses variable-length arrays?

2 votes
1 answer
163 views

Making datatypes for a programming language to translate (or compile) to an esoteric language

32 votes
4 answers
2k views

How to transpile goto to a language that lacks it?

23 votes
8 answers
5k views

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

6 votes
0 answers
155 views

Function call in single pass compiler for B

0 votes
1 answer
532 views

Are there any programming languages that operate solely via side-effects?

83 votes
2 answers
32k views

How do modern compilers choose which variables to put in registers?

2 votes
2 answers
366 views

How does the GNU Assembler deal with the directives for changing the syntax from AT&T to Intel or vice versa if those directives are in if-branching?

9 votes
3 answers
2k views

What are the pros/cons of a tree-based interpreter vs a bytecode-VM-based interpreter?

0 votes
1 answer
438 views

How might I implement a `typeid` operator (returning the type of its argument as something, presumably as a string) in my compiler?

6 votes
3 answers
626 views

What design choices inform whether a whole-program optimizing compiler is possible?

15 votes
5 answers
1k views

What are the benefits to self-hosting compilers?

8 votes
1 answer
701 views

What are the key steps to compiling a custom programming language that is similar to Rust (typechecking, type inference, and borrow checking)?

Browse more Questions