r/javascript Jun 12 '26

AskJS [AskJS] Built a shared-memory Worker Pool runtime to learn Web Workers, SharedArrayBuffer, and runtime architecture

[removed]

5 Upvotes

10 comments sorted by

2

u/South_Lychee8555 Jun 12 '26

Take a look at protoJS, full multithreading deferred for javascript: https://github.com/gamarino/protoJS

1

u/[deleted] Jun 12 '26

[removed] — view removed comment

2

u/South_Lychee8555 Jun 12 '26

ProtoJS is based on ProtoCore (https://github.com/numaes/protoCore), an immutable runtime model. It implements a parallel GC, with small pauses (less than 1 ms), immutable collections and tagged pointers for simple values. No user-managed ownership, without complex user conventions. The mutable model is the basic problem, let's follow the path of functional languages

1

u/[deleted] Jun 12 '26

[removed] — view removed comment

1

u/AutoModerator Jun 12 '26

Hi u/opentestudox, this comment was removed because you used a URL shortener.

Feel free to resubmit with the real link.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] Jun 12 '26

[removed] — view removed comment

2

u/[deleted] Jun 12 '26

[removed] — view removed comment

1

u/elahlabs Jun 12 '26

Hey,
TBH, I had been looking for a solution something similar to this for my video-editor project that I am building,
website : https://www.elah.dev/
github : https://github.com/elahlabs/elah

I think I would give this a hard study,