3 ms·
On a somewhat interesting note: transferable objects work similarly in web workers. There have been complaints, of course, that this makes it impossible to take
by rationalthug 12y ago
On a somewhat interesting note: transferable objects work similarly in web workers. There have been complaints, of course, that this makes it impossible to take advantage of shared memory in cases where it provides clear performance benefits.
- shortstuffsushi 12y agoWouldn't the concept of borrowing avoid that issue in Rust though?
- pcwalton 12y agoActually, atomics and locks (which are fully supported) are what avoid that issue in Rust. You can't borrow across multiple threads.