Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Neon: JavaScript Native Extensions in Rust - Dr...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
hone
November 06, 2017
Programming
110
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
Transcript
15 slides
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
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
380
Intro: Cloud Native Buildpacks - KubeCon EU 2019
hone
0
87
KubeCon 2018 - Intro: Cloud Native Buildpacks
hone
0
190
A Droid's Journey - CodeDaze 2018
hone
0
150
A Droid's Journey - RubyKaigi 2018
hone
0
910
Helix: Native Extensions for Everyone - RubyConf Colombia 2017
hone
1
220
Leveraging Rust with mruby: Loving our fellow Windows® users - FOSDEM 2017
hone
0
310
After A Decade: Still a Rubyist - Red Dot Ruby Conference 2016
hone
0
390
Other Decks in Programming
See All in Programming
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
160
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
310
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
4.3k
LLM 101
dalinaum
0
490
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
750
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
330
Modernizing iOS Apps
seyfoyun
0
150
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
200
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
SODA - FACT BOOK(JP)
sodainc
1
40k
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.1k
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
260
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Accessibility Awareness
sabderemane
1
300
Building an army of robots
kneath
307
47k
Making Projects Easy
brettharned
120
6.9k
Automating Front-end Workflow
addyosmani
1370
210k
Unsuck your backbone
ammeep
672
58k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Test your architecture with Archunit
thirion
2
2.5k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
610