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
90
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
350
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
66
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
170
A Droid's Journey - CodeDaze 2018
hone
0
120
A Droid's Journey - RubyKaigi 2018
hone
0
860
Helix: Native Extensions for Everyone - RubyConf Colombia 2017
hone
1
190
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
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
310
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
2.7k
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
430
New "Type" system on PicoRuby
pocke
1
400
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
430
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
250
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
210
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
250
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
4.8k
Inside Stream API
skrb
1
460
inferと仲良くなる10分間
ryokatsuse
1
290
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
370
A better future with KSS
kneath
240
18k
Rails Girls Zürich Keynote
gr2m
96
14k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
How to build a perfect <img>
jonoalderson
1
5.5k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
560
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
720
Statistics for Hackers
jakevdp
799
230k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
260
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