Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
80
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
170
Deep Dive: Cloud Native Buildpacks - KubeCon EU 2019
hone
1
310
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
51
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
150
A Droid's Journey - CodeDaze 2018
hone
0
110
A Droid's Journey - RubyKaigi 2018
hone
0
800
Helix: Native Extensions for Everyone - RubyConf Colombia 2017
hone
1
170
Leveraging Rust with mruby: Loving our fellow Windows® users - FOSDEM 2017
hone
0
270
After A Decade: Still a Rubyist - Red Dot Ruby Conference 2016
hone
0
350
Other Decks in Programming
See All in Programming
AIコーディングエージェント(Manus)
kondai24
0
150
認証・認可の基本を学ぼう前編
kouyuume
0
190
俺流レスポンシブコーディング 2025
tak_dcxi
13
8.3k
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
200
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
790
AIコードレビューがチームの"文脈"を 読めるようになるまで
marutaku
0
340
Why Kotlin? 電子カルテを Kotlin で開発する理由 / Why Kotlin? at Henry
agatan
2
6.8k
TypeScript 5.9 で使えるようになった import defer でパフォーマンス最適化を実現する
bicstone
1
1.2k
How Software Deployment tools have changed in the past 20 years
geshan
0
28k
sbt 2
xuwei_k
0
240
tparseでgo testの出力を見やすくする
utgwkk
1
170
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
310
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.1k
Building an army of robots
kneath
306
46k
We Have a Design System, Now What?
morganepeng
54
7.9k
Designing Experiences People Love
moore
143
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
A better future with KSS
kneath
240
18k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
700
RailsConf 2023
tenderlove
30
1.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
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