Re:Pony: Combining safe memory sharing with Erlang-like actors
by vanderZwan on Sunday July 02, 2017 @12:32PM
(#14683163)
Shared immutable data is one option, but what I also mean is that when the type system can guarantee at compile time that the actor sending the data does not have read- or write- access to the data after sending, the system knows it can just "recycle" the old data, without run-time overhead.
Look, just read up on the type system, specifically reference capabilities[0]. It's basically what allows for safe mutability and data passing when required.
Look, just read up on the type system, specifically reference capabilities[0]. It's basically what allows for safe mutability and data passing when required.
[0] https://tutorial.ponylang.org/capabilities/reference-capabil...