Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
50
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
150
A Droid's Journey - CodeDaze 2018
hone
0
100
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
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
10
11k
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
140
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
170
tparseでgo testの出力を見やすくする
utgwkk
1
130
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
2.9k
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
910
Herb to ReActionView: A New Foundation for the View Layer @ San Francisco Ruby Conference 2025
marcoroth
0
240
Level up your Gemini CLI - D&D Style!
palladius
1
170
How Software Deployment tools have changed in the past 20 years
geshan
0
27k
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
130
Media Capture and Streams: W3C仕様と現場での知見
nowaki28
0
130
関数の挙動書き換える
takatofukui
4
770
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Git: the NoSQL Database
bkeepers
PRO
432
66k
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