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
83
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
atmaCup #23でAIコーディングを活用した話
ml_bear
4
740
モジュラモノリスにおける境界をGoのinternalパッケージで守る
magavel
0
3.4k
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
200
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
420
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
460
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
14
7.9k
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
240
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
350
15年目のiOSアプリを1から作り直す技術
teakun
1
600
CSC307 Lecture 15
javiergs
PRO
0
220
AI主導でFastAPIのWebサービスを作るときに 人間が構造化すべき境界線
okajun35
0
540
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Code Review Best Practice
trishagee
74
20k
Visualization
eitanlees
150
17k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
220
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Are puppies a ranking factor?
jonoalderson
1
3.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
So, you think you're a good person
axbom
PRO
2
1.9k
The Language of Interfaces
destraynor
162
26k
Claude Code のすすめ
schroneko
67
220k
WCS-LA-2024
lcolladotor
0
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