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
97
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
190
Deep Dive: Cloud Native Buildpacks - KubeCon EU 2019
hone
1
370
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
74
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
880
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
380
Other Decks in Programming
See All in Programming
Google Apps Script で Ruby を動かす
kawahara
0
140
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
140
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
670
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
150
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
220
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
300
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
350
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
150
その節約、円になってますか?
isamumumu
1
710
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
380
5分で問診!Composer セキュリティ健康診断
codmoninc
0
910
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
890
The World Runs on Bad Software
bkeepers
PRO
72
12k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
590
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Google's AI Overviews - The New Search
badams
0
1.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
The Limits of Empathy - UXLibs8
cassininazir
1
600
KATA
mclloyd
PRO
35
15k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
470
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