Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
haileys
11 months ago
|
parent
|
context
|
favorite
| on:
Let rand = main as usize (2022)
Exactly. So you must use Rust's encapsulation features like modules and visibility to ensure that any particular piece of unsafe code _cannot_ receive a pointer that can't be proven to be valid.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: