Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
loeg
on April 11, 2016
|
parent
|
context
|
favorite
| on:
Why volatile is hard to specify and implement
You do need volatile (or equivalent) to instruct the compiler not to optimize away an access/write. Locked read/write intrinsics will already be annotated such that they don't get optimized.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: