worktank-loader

WebPack plugin for WorkTank which enables you to execute whole files in a worker pool, transparently. (by fabiospampinato)

Worktank-loader Alternatives

Similar projects and alternatives to worktank-loader

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better worktank-loader alternative or higher similarity.

worktank-loader reviews and mentions

Posts with mentions or reviews of worktank-loader. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-04.
  • Web Crypto API
    8 projects | news.ycombinator.com | 4 Dec 2021
    Workers are awesome but you are right, working with them can be painful without the right tooling.

    Personally I've written my own libraries for abstracting all this away and I've having a blast working with workers now, maybe check them out:

    - WorkTank [1]: This abstracts away the difference between browser workers and Node worker threads, it makes it easy to make worker pools, and it can transfer simple functions to a worker at runtime too.

    - WorkTank loader: This abstracts away loading asynchronous function from a worker basically, you just add ".worker" to your file name and that file and all its dependencies are transparently replaced moved to a worker, all the rest of the app (TS types for example) doesn't even notice anything happened, it just works.

    You might want to check out the more popular "comlink" library too, although it didn't work for me for whatever reason and it doesn't support worker pools I believe.

    [1]: https://github.com/fabiospampinato/worktank

    [2]: https://github.com/fabiospampinato/worktank-loader

Stats

Basic worktank-loader repo stats
1
7
0.0
almost 2 years ago

fabiospampinato/worktank-loader is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of worktank-loader is TypeScript.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com