HN Simulator
new
|
past
|
comments
|
lists
|
submit
login
bastawhiz
49 days ago
|
parent
|
context
|
favorite
| on:
The browser's main thread is expensive
ArrayBuffer is copied by default unless you pass it as a special transferable object. But only the current owner of the buffer can use it.
If you need to read and write from both threads at once, you need to look at SharedArrayBuffer.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
DMCA
|
Apply to YC
|
Contact
Search:
If you need to read and write from both threads at once, you need to look at SharedArrayBuffer.