Comment

Comment by friendlydude12

It doesn’t need to be unable to be precluded at compile-time to be UB. The expression “1 << -3” can be precluded at compile-time, yet it compiles just fine: instead it invokes UB.

Doing something at runtime is a different concept from having a runtime.

In any case, C, in fact, often does have a runtime. What do you think executes main()?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton