The Path to Parallel JavaScript
blog.mozilla.org
The Path to Parallel JavaScript
1–10 of 58 posts
Re: The Path to Parallel JavaScript
#2Re: The Path to Parallel JavaScript
#3Re: The Path to Parallel JavaScript
#4Re: The Path to Parallel JavaScript
#5I think what we need is immutable data-structures to be shareable between threads. This approach should also allow structural sharing between threads, allowing for efficient and safe data structures.
Also, I could see a use for a mechanism where a thread creates a data-structure, then marks it as read-only, such that it can become shared.
Re: The Path to Parallel JavaScript
#6I would love to see a channel primitive similar to Golang's. They really seem to have hit the nail on the head with that one.
I've never tried using them across web workers however.
Re: The Path to Parallel JavaScript
#7I would love to see a channel primitive similar to Golang's. They really seem to have hit the nail on the head with that one.
Re: The Path to Parallel JavaScript
#8I would love to see a channel primitive similar to Golang's. They really seem to have hit the nail on the head with that one.
There's also a video if you care to watch https://www.youtube.com/watch?v=enwIIGzhahw
Re: The Path to Parallel JavaScript
#9Re: The Path to Parallel JavaScript
#10Does anyone know what is the origin of async/await? It's very convenient for simple cases, but it makes it very hard to mix synchronous and async code(C#).