Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
loeg
6 months ago
|
parent
|
context
|
favorite
| on:
Undefined behavior in C is a reading error (2021)
In a new language that isn't C, that function shouldn't compile at all (missing return).
In a C compiler, inserting a trap (x86 ud2, for example) might be reasonable.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In a C compiler, inserting a trap (x86 ud2, for example) might be reasonable.