Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rust for Node.js Developers
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Giovanny Gongora
October 21, 2016
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rust for Node.js Developers
Presented: Connect.Tech 2016
Giovanny Gongora
October 21, 2016
More Decks by Giovanny Gongora
See All by Giovanny Gongora
Memory Chronicles: Manage, Trace and Fix Memory Leaks
gioyik
0
160
Profile & Analyze Node.js Applications
gioyik
0
140
Node.js Contributor Workshop
gioyik
0
120
Profile & Analyze Node.js Applications like a Pro
gioyik
1
110
Leak Hunting - Finding and debugging a memory leak in Nodejs.pdf
gioyik
1
1k
Finding and debugging a memory leak in Node.js
gioyik
0
210
Road to LISP heaven
gioyik
1
160
Leak Hunting: Finding and debugging a memory leak in Node.js
gioyik
0
590
Performance first: Node.js and Rust
gioyik
0
220
Other Decks in Technology
See All in Technology
The Django UUID Story - DjangoCon US 2026
pauloxnet
0
360
Nav2、Nav3 ... はたまた自作?〜 作って理解する Nav3 の設計意図 〜 / Nav2, Nav3 ... or Build Your Own? — Understanding Nav3's design intent by building it from scratch
yanzm
0
120
Self Healing Rollouts: Automating Production Fixes with Agentic AI
kdubois
0
120
When Token Pruning is Worse than Random: Understanding Visual Token Information in VLLMs
sansantech
PRO
0
220
EMの役割で 変わったこと・変わらなかったこと
sansantech
PRO
1
230
Guerilla InnerSource in enterprises, during the AI hype
onenashev
PRO
0
130
ClaudeCodeでセキュリティ監視業務を半自動化_1年の運用でわかったAIに任せる設計の5つのポイント
kintotechdev
4
1k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
55k
『自分で判断できるか』を基準に、プロダクトのハンズオン研修でAI利用の線を引いてみた / Where We Drew the Line on AI in Hands-on Training
honyanya
1
760
Master Dataグループ紹介資料
sansan33
PRO
1
4.9k
Sony-DroidKaigi2026
sony
0
200
承認ゲートは何を守っているのか? AIエージェントの自律購入を実測した結果
yama3133
1
110
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
230
KATA
mclloyd
PRO
35
15k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Chasing Engaging Ingredients in Design
codingconduct
0
290
Designing for Timeless Needs
cassininazir
1
460
The Cost Of JavaScript in 2023
addyosmani
55
10k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
510
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
490
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
680
Transcript
Rust for Node.js Developers Giovanny Gongora / @gioyik
OUTLINE • What is Rust? • Why using Rust with
Node.js • Rust inside Node.js • FFI on Node.js • Let’s do it • More ways?
WHAT IS RUST? 1. A systems programming language 2. It
focuses on speed, safety and concurrency 3. Great fit to write programs with specific time requirements 4. Ability to write low level code, like device drivers 5. No garbage collector
What does it look like? You can run this on
https://play.rust-lang.org if you don’t have Rust installed
WHY SHOULD I CARE?
WHY USING RUST WITH NODE.JS 1. Performance 2. Parallelism 3.
Bindings
ANY REAL ADVANTAGE WE COULD SEE? Yes, but not today
RUST INSIDE NODE.JS (really?)
THE PROBLEM “Start ten threads. Inside each thread, count from
one to five million. After all then threads are finished, print out ‘done!’”
Let’s create a new cargo project configure Cargo.toml
Edit the lib Build it
Create your node file Check the output
LET’S TRY A LESS COMPLEX EXAMPLE!
Let’s create a new cargo project configure Cargo.toml
Edit the lib Build it
Create your node file profit!
MORE WAYS?
LET’S TRY A COMPLEX EXAMPLE!
NEON Neon is a Rust bridge to the Node.js platform:
an API (and a set of tools) for implementing binary Node modules in Rust
RUNO [PROTOTYPE] RuNo bridge is a command line tool which
generates C++ boilerplate add-on code to call Rust library from.
CONCLUSIONS
SHOULD I TRY RUST?
SO, USE RUST INSTEAD OF JAVASCRIPT ON WEB APPLICATIONS?
THANKS! More info at Rust Inside Other Languages Giovanny Gongora
/ @gioyik