Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wat10000
3 months ago
|
parent
|
context
|
favorite
| on:
Your code is fast if you're lucky
The compiler doesn’t have to consider how other threads will see this. If you don’t use atomics, the compiler is free to reorder things however it wishes as long as the single threaded behavior is the same in the end.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: