[rust-dev] Designing long-running subtasks

Daniel Micay danielmicay at gmail.com
Thu Jun 5 02:21:01 PDT 2014


On 05/06/14 02:27 AM, Paul Nathan wrote:
> 
> This won't work in a CSP system. So.... 

Rust isn't a pure CSP system. It has both immutable and mutable shared
memory alongside various forms of channels. The best tool for the job
will vary based on the specific use case. Channels will often be the
right choice, but there's no need to prefer them when using shared state
maps better to the problem. Either way, Rust prevents data races.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140605/3ca6d187/attachment.sig>


More information about the Rust-dev mailing list