2 ms·
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 ha
by vanderZwan 9y ago
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.
[0] https://tutorial.ponylang.org/capabilities/reference-capabilities.html https://tutorial.ponylang.org/capabilities/reference-capabil...