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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
hone
November 06, 2017
Programming
93
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
180
Deep Dive: Cloud Native Buildpacks - KubeCon EU 2019
hone
1
360
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
72
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
180
A Droid's Journey - CodeDaze 2018
hone
0
120
A Droid's Journey - RubyKaigi 2018
hone
0
870
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
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
1
110
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
Lessons from Spec-Driven Development
simas
PRO
0
220
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
350k
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
610
A2UI という光を覗いてみる
satohjohn
1
150
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.5k
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
120
エージェンティックRAGにAWSで入門しよう!
har1101
9
1.7k
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
150
Inside Stream API
skrb
1
770
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
130
Featured
See All Featured
Balancing Empowerment & Direction
lara
6
1.2k
Code Reviewing Like a Champion
maltzj
528
40k
Tell your own story through comics
letsgokoyo
1
960
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Designing for Timeless Needs
cassininazir
1
260
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
450
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
610
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
340
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