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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
hone
November 06, 2017
Programming
91
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
Lessons from Spec-Driven Development
simas
PRO
0
130
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
120
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
130
AI時代のUIはどこへ行く?その2!
yusukebe
19
6.5k
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
170
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
6
1.3k
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
690
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
140
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
180
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
110
inferと仲良くなる10分間
ryokatsuse
1
360
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.3k
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
190
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
The Curse of the Amulet
leimatthew05
1
13k
Abbi's Birthday
coloredviolet
2
7.9k
From π to Pie charts
rasagy
0
200
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
Code Review Best Practice
trishagee
74
20k
Odyssey Design
rkendrick25
PRO
2
670
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
The Curious Case for Waylosing
cassininazir
1
370
The Spectacular Lies of Maps
axbom
PRO
1
780
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