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
95
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
73
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
180
A Droid's Journey - CodeDaze 2018
hone
0
130
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
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
350
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
2k
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
360
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
300
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
350
symfony/aiとlaravel/boost
77web
0
120
SLOをサービス品質の共通言語にするために 取り組んできたこと
wakana0222
0
430
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
300
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
130
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
2
810
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
460
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
500
Featured
See All Featured
Paper Plane
katiecoart
PRO
1
52k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
260
Testing 201, or: Great Expectations
jmmastey
46
8.2k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
260
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1k
Technical Leadership for Architectural Decision Making
baasie
3
440
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
870
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
560
YesSQL, Process and Tooling at Scale
rocio
174
15k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
GraphQLとの向き合い方2022年版
quramy
50
15k
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