1 repository
Architectural patterns for offloading heavy computational tasks to background threads and notifying the main thread upon completion.
Distinct from Worker-to-UI Thread Messaging: Existing candidates focus on UI thread messaging or thread pool limits; this is a general native-to-script async worker pattern.
Explore 1 awesome GitHub repository matching operating systems & systems programming · Async Worker Patterns. Refine with filters or upvote what's useful.
This project is a compatibility layer and abstraction library for building native C++ addons for Node.js. It provides a consistent C++ API that allows a single codebase to compile against multiple versions of the V8 JavaScript engine by hiding version-specific differences behind macros and inline functions. The toolkit differentiates itself through specialized wrappers and managers, including a monadic wrapper for handles to avoid explicit null checks, a persistent reference manager for objects that must survive handle scope disposal, and a buffer abstraction API for version-compatible memory
Implements an asynchronous worker pattern to run native C++ tasks on background threads with callbacks to JavaScript.