Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lmm
on Feb 14, 2017
|
parent
|
context
|
favorite
| on:
I Do Not Know C: Short quiz on undefined behavior ...
This battle has been fought and lost. If you require sensible behaviour, just move on and use a language that offers it. C compilers will do what makes them look good on benchmarks, and various "friendly C" efforts have been tried and failed.
vyodaiken
on Feb 14, 2017
[–]
Au contraire - gcc and clang both appear to do the right thing now.
mfukar
on Feb 14, 2017
|
parent
[–]
https://godbolt.org/g/lqmNLh
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: