Skip to content

Thanks for a fantastic library! #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
planted-mreinstein opened this issue Apr 15, 2025 · 1 comment
Closed

Thanks for a fantastic library! #31

planted-mreinstein opened this issue Apr 15, 2025 · 1 comment

Comments

@planted-mreinstein
Copy link

I have no feature requests, it's basically perfect as-is.

Using this as a way to put all of my UDP + networking work into a separate thread and provide a pollable, lockless, GC-less interface to that from the main thread. As long as the 2 threads are able to keep up with each other and not overflow the SABs this works phomenally well.

Thanks so much for this no-bullshit, just enough abstraction to make Atomics usable interface!

@padenot
Copy link
Owner

padenot commented Apr 16, 2025

Thanks for the nice message!

You'll be pleased to know that just by opening an issue here, you reminded me that I completely forgot to review + merge #29, that brings a million improvements, including typescript types, while being completely drop-in replacement: no API change except adding some method variants because there were some inconsistencies, and improving the performance significantly (more or less 2x throughput, depending on the browser).

Expect a new tagged version soon on npm that you should just be able to pull in without touching your own code, to have better performance (or copy the .js file manually, etc., like it's possible to do today).

@padenot padenot closed this as completed Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants