Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eddyb
on Feb 2, 2015
|
parent
|
context
|
favorite
| on:
Heartbleed in Rust
The equivalent would be `Vec::with_capacity` which allocates the right size but does not provide safe access to uninitialized memory - in other words, you can only read what you wrote.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: