logoalt Hacker News

amlutoyesterday at 10:45 PM1 replyview on HN

But one would have to explicitly choose to use unsafe Rust for this instead of ordinary safe Rust. And safe Rust has no particular difficulty writing to slots in an array or slice or vector specified by their index.


Replies

skulloneyesterday at 10:47 PM

except nearly everyone uses unsafe rust

show 3 replies