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
84
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
180
Deep Dive: Cloud Native Buildpacks - KubeCon EU 2019
hone
1
330
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
54
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
160
A Droid's Journey - CodeDaze 2018
hone
0
110
A Droid's Journey - RubyKaigi 2018
hone
0
840
Helix: Native Extensions for Everyone - RubyConf Colombia 2017
hone
1
180
Leveraging Rust with mruby: Loving our fellow Windows® users - FOSDEM 2017
hone
0
280
After A Decade: Still a Rubyist - Red Dot Ruby Conference 2016
hone
0
360
Other Decks in Programming
See All in Programming
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
370
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
380
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
170
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
120
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
230
Windows on Ryzen and I
seosoft
0
220
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
110
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
350
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
260
ふつうのRubyist、ちいさなデバイス、大きな一年 / Ordinary Rubyists, Tiny Devices, Big Year
chobishiba
1
420
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
540
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
210
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
320
Making Projects Easy
brettharned
120
6.6k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
150
Tell your own story through comics
letsgokoyo
1
830
Documentation Writing (for coders)
carmenintech
77
5.3k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
The SEO Collaboration Effect
kristinabergwall1
0
380
Automating Front-end Workflow
addyosmani
1370
200k
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