Hacker News new | ask | show | jobs
by hechang1997 2274 days ago
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.
1 comments

Sure you can, it is no different than mapping a FFI pointer inside unsafe code block, or doing a mmap like access.