Pumping up Node js modules with Rust!
summary
Shows how to use Rust and the Neon library to build native Node.js modules that are both high-performance and memory-safe. Covers Rust’s Foreign Function Interface approach for creating bindings to JavaScript so you can write native extensions that integrate with Node.js with fewer crashes and better performance.
AI-written summary · about
chapters (23)
- 0:00Intro
- 3:30Need of Node.js Native Addon
- 5:32Speeding up crypto on Wire desktop apps
- 8:31Variables
- 9:28Functions
- 10:08Flow control
- 11:11Looping
- 11:41Types
- 12:33Package Manager
- 13:15Garbage Collection
- 14:41Referencing
- 15:11Ownership
- 15:51Making it work in Rust
- 16:22Mutability Rules
- 17:20Application to generate Fibonacci numbers
- 18:16Node.js Integration
- 19:45Getting Started
- 20:08Hello world
- 23:02call.scope
- 23:48Benchmarking
- 26:29When should you use Rust?
- 27:33What does Rust have to offer?
- 28:04The future is exciting!
related talks
29mRust Native Module with Node-API
28mPowering Up NodeJS Performance by Rust and WebAssembly
55mNode.js N-API for Rust
30mRust in the Browser for Javascripters:New Frontiers,New Possibilities
22mExtending JavaScript with Rust
36mPumping up Python modules using Rust
22mWhen to Use Native Extensions in Rust: Accessible, Safe Performance
31mPumping up Python modules using Rust
