Node.js with Rust for CPU-Bound Work
Keep your business and glue logic in Node/TypeScript, and delegate only the small CPU-bound hot kernel to Rust. Three integration approaches connect the two runtimes: an in-process native addon, a WebAssembly module, and an out-of-process sidecar. This cookbook is a decision guide for choosing between them plus a concrete napi-rs recipe for the most common case.