You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A while back I wrote a library that exposes js data types behind a proxy, and uses [Shared]ArrayBuffer as the heap https://github.com/Bnaya/objectbuffer
The objects are free-form
You can transfer the [Shared]ArrayBuffer to a WebWorker/worker_thread, and with the appropriate locking, you can have shared memory js objects
The memory management is done via some kind of reference counting, and user-triggered free pass
While the library actually works, the reason i didn't really use it, is that strings will never be efficient as far as I can see
The text was updated successfully, but these errors were encountered:
A while back I wrote a library that exposes js data types behind a proxy, and uses [Shared]ArrayBuffer as the heap
https://github.com/Bnaya/objectbuffer
The objects are free-form
You can transfer the [Shared]ArrayBuffer to a WebWorker/worker_thread, and with the appropriate locking, you can have shared memory js objects
The memory management is done via some kind of reference counting, and user-triggered
free
passWhile the library actually works, the reason i didn't really use it, is that strings will never be efficient as far as I can see
The text was updated successfully, but these errors were encountered: