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
76
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
170
Deep Dive: Cloud Native Buildpacks - KubeCon EU 2019
hone
1
300
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
48
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
150
A Droid's Journey - CodeDaze 2018
hone
0
100
A Droid's Journey - RubyKaigi 2018
hone
0
760
Helix: Native Extensions for Everyone - RubyConf Colombia 2017
hone
1
160
Leveraging Rust with mruby: Loving our fellow Windows® users - FOSDEM 2017
hone
0
270
After A Decade: Still a Rubyist - Red Dot Ruby Conference 2016
hone
0
350
Other Decks in Programming
See All in Programming
為你自己學 Python - 冷知識篇
eddie
1
350
RDoc meets YARD
okuramasafumi
4
170
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
440
MCPで実現するAIエージェント駆動のNext.jsアプリデバッグ手法
nyatinte
7
1.1k
アルテニア コンサル/ITエンジニア向け 採用ピッチ資料
altenir
0
100
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
1
530
rage against annotate_predecessor
junk0612
0
170
基礎から学ぶ大画面対応(Learning Large-Screen Support from the Ground Up)
tomoya0x00
0
430
Laravel Boost 超入門
fire_arlo
3
210
「待たせ上手」なスケルトンスクリーン、 そのUXの裏側
teamlab
PRO
0
510
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
22
5.7k
AIと私たちの学習の変化を考える - Claude Codeの学習モードを例に
azukiazusa1
10
3.9k
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
How STYLIGHT went responsive
nonsquared
100
5.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Producing Creativity
orderedlist
PRO
347
40k
The World Runs on Bad Software
bkeepers
PRO
70
11k
4 Signs Your Business is Dying
shpigford
184
22k
Context Engineering - Making Every Token Count
addyosmani
2
41
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
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