Skip to main content
ratchet freak's user avatar
ratchet freak's user avatar
ratchet freak's user avatar
ratchet freak
  • Member for 2 years, 5 months
  • Last seen this week
45 votes
Accepted

Why do many template languages have `for-else` statements?

24 votes

Rationale for requiring struct prefix in C

14 votes

What is the explicit list of the situations that require RAII?

11 votes

Why target an existing VM?

8 votes

Could function parameters be placed inside names?

6 votes
Accepted

What are some common ways to optimise an interpreter?

5 votes

What are the alternatives to classic ad hoc function overloading?

5 votes

What are pros and cons of tagged vs untagged union-types?

5 votes
Accepted

Why does C++'s unordered_map::erase fully invalidate iterators, not even supporting advancing?

5 votes

What are the approaches of protecting against partially initialized objects?

4 votes
Accepted

How does a simple mark-and-sweep GC stop the other threads?

4 votes
Accepted

How is the `wasm2c` tool from the WebAssembly Binary Toolkit capable of converting WebAssembly code doing unaligned access into C?

4 votes
Accepted

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

4 votes

What is the mathematical abstraction of bitflags for use in a purely functional language?

4 votes

Are there languages or compilers having optimizations to deallocate variables early?

4 votes

From a parsing perspective, which is more efficient? Right-to-left or left-to-right argument parsing?

4 votes
Accepted

Ways to have operators for both normal and floor division

3 votes

Tail-recursive detection and conversion

3 votes

How continuations compiles generators and coroutines?

3 votes

Can you, should you, go straight from AST to SSA?

3 votes

A kind of "weak reference" which keeps the object alive, as long as there is otherwise-unused memory

2 votes

How to find the updated address of an object in a moving garbage collector?

2 votes

How to optimize non-tail recursion?

1 vote

How do different template languages handle parsing?

1 vote

Optimization algorithm using conditional invariants

1 vote

What's the point of type safety?

1 vote

Why don't popular regex engines support complement and intersection?

1 vote
Accepted

What to do when registers are used up in a register based VM?

0 votes

Why do we need to divide lexing and parsing stages

0 votes

How to ensure correct transformations with `break`, `continue` and other context-dependent statements?