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
0
76
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
Tweet
Share
More Decks by hone
See All by hone
Limitless - RubyUnconf Hamburg 2019
hone
0
160
Deep Dive: Cloud Native Buildpacks - KubeCon EU 2019
hone
1
270
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
42
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
140
A Droid's Journey - CodeDaze 2018
hone
0
95
A Droid's Journey - RubyKaigi 2018
hone
0
710
Helix: Native Extensions for Everyone - RubyConf Colombia 2017
hone
1
160
Leveraging Rust with mruby: Loving our fellow Windows® users - FOSDEM 2017
hone
0
260
After A Decade: Still a Rubyist - Red Dot Ruby Conference 2016
hone
0
330
Other Decks in Programming
See All in Programming
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
190
プロフェッショナルとしての成長「問題の深掘り」が導く真のスキルアップ / issue-analysis-and-skill-up
minodriven
8
1.6k
「理解」を重視したAI活用開発
fast_doctor
0
180
設計の本質:コード、システム、そして組織へ / The Essence of Design: To Code, Systems, and Organizations
nrslib
5
1k
Lambda(Python)の リファクタリングが好きなんです
komakichi
3
220
Building a macOS screen saver with Kotlin (Android Makers 2025)
zsmb
1
160
タイムゾーンの奥地は思ったよりも闇深いかもしれない
suguruooki
1
720
Kamal 2 – Get Out of the Cloud
aleksandrov
1
200
Cursor/Devin全社導入の理想と現実
saitoryc
22
16k
KANNA Android の技術的課題と取り組み
watabee
0
100
生成AIを使ったQAアプリケーションの作成 - ハンズオン補足資料
oracle4engineer
PRO
3
250
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
120
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.4k
Music & Morning Musume
bryan
47
6.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Agile that works and the tools we love
rasmusluckow
328
21k
It's Worth the Effort
3n
184
28k
Building an army of robots
kneath
304
45k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
530
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
119
51k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
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