News for hackers. Stuff that matters.
Re:Two Years with Rust by hechang1997 on Tuesday March 24, 2020 @12:52AM (#22672074)
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.
Re:Two Years with Rust by pjmlp on Tuesday March 24, 2020 @02:11AM (#22672429)
Sure you can, it is no different than mapping a FFI pointer inside unsafe code block, or doing a mmap like access.