Skip to main content

Explore our questions

16 votes
3 answers
504 views

What was the rationale for making realloc(ptr, 0) have UB in C23

0 votes
0 answers
132 views

How can transpilers benefit from compiler optimizations which are compatible with semantics, if other "optimizations" in the target language aren't?

14 votes
12 answers
1k views

What are the advantages of strings and character arrays being different?

22 votes
10 answers
5k views

Why would accessing uninitialized memory necessarily be undefined behavior?

11 votes
1 answer
318 views

What prevented fopen() from utilizing macros/flags but not fseek()?

34 votes
9 answers
4k views

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

3 votes
1 answer
386 views

Why is type-punning at compile-time a no-go?

16 votes
11 answers
5k views

What prevents languages from having arbitrary sized return data on the stack?

4 votes
6 answers
1k views

How can memory addresses be compile-time constants?

5 votes
9 answers
2k views

Correctness of mixed signed/unsigned arithmetic

38 votes
2 answers
22k views

Why do common Rust packages depend on C code?

8 votes
4 answers
2k views

Why are mixed declarations more challenging to implement than forcing all declarations to be at the top of a scope?

12 votes
3 answers
593 views

When was our current definition of "undefined behavior" first used?

20 votes
4 answers
5k views

What obstacles prevented C and C++ from standardizing π?

Browse more Questions