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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
hone
November 06, 2017
Programming
97
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
190
Deep Dive: Cloud Native Buildpacks - KubeCon EU 2019
hone
1
360
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
74
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
180
A Droid's Journey - CodeDaze 2018
hone
0
130
A Droid's Journey - RubyKaigi 2018
hone
0
880
Helix: Native Extensions for Everyone - RubyConf Colombia 2017
hone
1
200
Leveraging Rust with mruby: Loving our fellow Windows® users - FOSDEM 2017
hone
0
290
After A Decade: Still a Rubyist - Red Dot Ruby Conference 2016
hone
0
370
Other Decks in Programming
See All in Programming
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
200
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
210
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
460
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
170
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
160
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
200
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
180
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
510
Android CLI
fornewid
0
210
信頼性について考えてみる(SRE NEXT 2026 miniLT)
hayama17
0
240
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
940
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
260
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Context Engineering - Making Every Token Count
addyosmani
9
1k
Designing for humans not robots
tammielis
254
26k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Scaling GitHub
holman
464
140k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
240
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Making the Leap to Tech Lead
cromwellryan
135
10k
Git: the NoSQL Database
bkeepers
PRO
432
67k
A better future with KSS
kneath
240
18k
Faster Mobile Websites
deanohume
310
32k
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