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
Neon: JavaScript Native Extensions in Rust - Dr...
Search
hone
November 06, 2017
Programming
89
0
Share
Neon: JavaScript Native Extensions in Rust - Dreamforce 2017 OSS Booth
https://github.com/hone/electronjs-mandelbrot
https://github.com/hone/neon-mandelbrot
hone
November 06, 2017
More Decks by hone
See All by hone
Limitless - RubyUnconf Hamburg 2019
hone
0
180
Deep Dive: Cloud Native Buildpacks - KubeCon EU 2019
hone
1
340
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
57
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
160
A Droid's Journey - CodeDaze 2018
hone
0
110
A Droid's Journey - RubyKaigi 2018
hone
0
850
Helix: Native Extensions for Everyone - RubyConf Colombia 2017
hone
1
190
Leveraging Rust with mruby: Loving our fellow Windows® users - FOSDEM 2017
hone
0
280
After A Decade: Still a Rubyist - Red Dot Ruby Conference 2016
hone
0
370
Other Decks in Programming
See All in Programming
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
330
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
310
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
210
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
22
11k
tRPCの概要と少しだけパフォーマンス
misoton665
2
170
ルールルルルルRubyの中身の予備知識 ── RubyKaigiの前に予習しなイカ?
ydah
1
180
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
170
Server-Side Kotlin LT大会 vol.18 [Kotlin-lspの最新情報と Neovimのlsp設定例]
yasunori0418
1
140
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
130
ふりがな Deep Dive try! Swift Tokyo 2026
watura
0
210
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
240
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
It's Worth the Effort
3n
188
29k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
210
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
250
Visualization
eitanlees
150
17k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
520
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
98
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Being A Developer After 40
akosma
91
590k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Color Theory Basics | Prateek | Gurzu
gurzu
0
290
Transcript
Neon JavaScript Native Extensions in Rust
JavaScript Native Extensions (C++) • Unsafe • Risky - segfaults!
• Maintenance burden • Contribution barrier • Cross Platform Support
None
Meet Rust • Like C: compiled, statically typed, very fast
• Unlike C: enjoyable to use, guarantees safety • "If it compiles, it doesn't crash" • Same guarantee as JavaScript with memory safety • Strong C/FFI support
Cargo - Dependency Manager
What is Neon? • Rust bindings for writing safe and
fast native Node.js modules • Crash free memory protection (works with JS GC) • Parallelism (use multiple threads)
Mandelbrot Demo
None
z n+1 = z n 2 + c
DEMO https://github.com/hone/electronjs-mandelbrot https://github.com/hone/neon-mandelbrot
Wire App
None
Neon @ Heroku/Salesforce
Heroku/SFDX CLI
Distribution