Skip to main content

Explore our questions

30 votes
4 answers
1k views

How to transpile goto to a language that lacks it?

0 votes
1 answer
384 views

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

77 votes
2 answers
31k views

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

1 vote
2 answers
284 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?

20 votes
7 answers
5k views

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

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
327 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
567 views

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

15 votes
5 answers
973 views

What are the benefits to self-hosting compilers?

8 votes
1 answer
634 views

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

20 votes
8 answers
779 views

What's the relation between a language being managed and its compiler being reversible?

2 votes
1 answer
311 views

Handling two different ways to write `else if`?

7 votes
1 answer
855 views

What, if any, runtime cost is incurred by using 64-bit ints on 32-bit platforms in LLVM?

15 votes
7 answers
6k views

How is clang able to evaluate loops without getting stuck in an infinite loop?

Browse more Questions