|
|
|
|
|
by howinteresting
991 days ago
|
|
> Rust type system doesn't help when the data resides in a shared memory segment accessed by multiple processes. This isn't quite true. You can provide a safe abstraction that involves cross-process locking APIs. https://github.com/elast0ny/shared_memory/blob/HEAD/examples... is an example using a mutex guard. Rust's type system helps more in some cases than others, but you can get at least some help from it almost all of the time. |
|