Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
GrantMoyer
85 days ago
|
parent
|
context
|
favorite
| on:
Rust’s worst feature
In Rust, creating a reference to uninitialized data is undefined behavior, even if you don't access the data through it[1]. The optimizer assumes all references are intialized.
[1]:
https://doc.rust-lang.org/std/ptr/#pointer-to-reference-conv...
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://doc.rust-lang.org/std/ptr/#pointer-to-reference-conv...