Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hechang1997
· 6y ago · 0 comments
I don't think you can have shared IPC memory in rust. You have to use message passing. Of course you are on your own completely, and there will be weird logic bugs when you mess it up. However, there won't be any memory corruptions.
Comments
[–]
pjmlp
6y ago
Sure you can, it is no different than mapping a FFI pointer inside unsafe code block, or doing a mmap like access.