On 7/21/12 12:18 PM, David Herman wrote:
Oh, actually, I wonder if the "transfer" semantics of ArrayBuffers wouldn't 
give us the ability to emulate the exchange heap more accurately:

     http://www.khronos.org/registry/typedarray/specs/latest/#9.2
     http://updates.html5rocks.com/2011/12/Transferable-Objects-Lightning-Fast

Long story short: you can dynamically emulate unique ownership of binary data and 
transfer it between workers without copies. The sender's reference to the data becomes 
"neutered" so that it's unable to view the data after the send. Of course, Rust 
would guarantee it never even tried.

Ah, yes, I imagine that would help.


Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to