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
58
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
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
270
[RubyKaigi 2026] Require Hooks
palkan
1
220
Swift Concurrency Type System
inamiy
1
540
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
190
NakouPAY説明用
annouim0
0
250
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
580
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
280
GoogleCloudとterraform完全に理解した
terisuke
1
130
Liberating Ruby's Parser from Lexer Hacks
ydah
2
1.9k
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
570
iOS機能開発のAI環境と起きた変化
ryunakayama
0
190
Running Swift without an OS
kishikawakatsumi
0
850
Featured
See All Featured
Navigating Team Friction
lara
192
16k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
The Language of Interfaces
destraynor
162
26k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
280
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
The browser strikes back
jonoalderson
0
980
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
540
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
The Pragmatic Product Professional
lauravandoore
37
7.2k
RailsConf 2023
tenderlove
30
1.4k
Paper Plane (Part 1)
katiecoart
PRO
0
6.7k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
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