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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
hone
November 06, 2017
Programming
0
86
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
56
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
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
340
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
280
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
230
Unity6.3 AudioUpdate
cova8bitdots
0
130
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
150
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
240
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
110
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
560
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
140
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
550
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.3k
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
55
8k
We Are The Robots
honzajavorek
0
200
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
170
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
390
How to build a perfect <img>
jonoalderson
1
5.2k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Ethics towards AI in product and experience design
skipperchong
2
220
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
110
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
340
Information Architects: The Missing Link in Design Systems
soysaucechin
0
830
Raft: Consensus for Rubyists
vanstee
141
7.4k
エンジニアに許された特別な時間の終わり
watany
106
240k
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