Y
Hacker News
new
|
ask
|
show
|
jobs
by
thrance
334 days ago
True of
safe
rust only. You can always fall back to unsafe rust, allocate a chunk of bytes and write/read to it as you wish.
1 comments
stouset
334 days ago
Even in unsafe Rust, this is undefined behavior.
link
LoganDark
334 days ago
You're
allowed
to trigger as much undefined behavior as you wish. It makes the program meaningless of course, but it's not like it stops you.
link