Skip to main content

Explore our questions

14 votes
4 answers
2k views

Is it possible to extend C to have the Rust concept of ownership for memory safety?

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?

11 votes
4 answers
6k views

Why does the do-while loop in C-like languages require the curly brackets `{` and `}`? Wouldn't the grammar be perfectly parsable without them?

6 votes
7 answers
2k views

How can memory addresses be compile-time constants?

0 votes
1 answer
155 views

Is it possible to apply # to a string literal resulting from another # in C?

-2 votes
2 answers
272 views

If this is the actual behavior of c preprocessor, then how should I interpret the standard if I were to implement it?

10 votes
5 answers
2k views

Why was C implemented with a register preservation convention that seems to be far less efficient than its predecessor's?

17 votes
4 answers
3k views

Why did C99 have to add the underscored keywords for _Bool _Complex _Imaginary but not for inline or restrict?

13 votes
2 answers
996 views

What optimizations are possible with unsequenced operators?

10 votes
4 answers
3k views

Is it plausible to let modulo-by-zero have a well-defined output value, provided that my language is C-like?

4 votes
1 answer
281 views

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

29 votes
5 answers
4k views

Rationale for requiring struct prefix in C

18 votes
8 answers
7k views

Why would a language need to have trap representations?

36 votes
10 answers
5k views

Why would a language have a concept of undefined behavior instead of raising an error?

Browse more Questions