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
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
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3.2k
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
420
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
380
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
240
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
オーケストレーション記述言語 Katari
yukikurage
0
250
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
Seven New Principles of Software Engineering
yegor256
0
480
はじめてのPLATEAU
nokonoko1203
1
640
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
340
Railsバージョンを4倍にした話
optim
0
1k
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
How to Talk to Developers About Accessibility
jct
2
620
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Leo the Paperboy
mayatellez
11
2.5k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
370
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
780
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k