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
We built a runtime
Search
Kurt Mackey
December 11, 2018
Programming
1
820
We built a runtime
Kurt Mackey
December 11, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
120
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜
kuro_kurorrr
3
1.9k
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
580
Unity6.3 AudioUpdate
cova8bitdots
0
130
文字コードの話
qnighy
44
17k
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
140
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
15
8.8k
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
140
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
520
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
500
AHC061解説
shun_pi
0
380
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
300
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
140
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Visualization
eitanlees
150
17k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.9k
The Language of Interfaces
destraynor
162
26k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.4k
Balancing Empowerment & Direction
lara
5
940
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Context Engineering - Making Every Token Count
addyosmani
9
750
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
Making Projects Easy
brettharned
120
6.6k
Transcript
We built a runtime We built a runtime
None
None
22 months ago …
Let’s build a CDN for devs! https://fly.io
Nginx & Lua (crazy fast) #1
Terrible programming model
Golang (Super productive) #2
So many feature requests
Go & Otto #3
JavaScript is slow
https://ponyfoo.com/articles/an-introduction-to-speculative-optimization-in-v8
But v8 is fast?!
https://ponyfoo.com/articles/an-introduction-to-speculative-optimization-in-v8
https://ponyfoo.com/articles/an-introduction-to-speculative-optimization-in-v8
Go & v8 #3
Go & v8: Just don’t
Node & v8 (We did it!) https://github.com/superfly/fly #4
Node: a cheat code for v8
Building a JavaScript Runtime // browsers implement a `fetch` method
// for making HTTP requests fetch("https://fly.io").then(function (r) { console.log("got response:", { status: r.status, size: r.body.length }) }) Batteries not included
None
Building a JavaScript Runtime console.log("hello world") No console for you
Building a JavaScript Runtime let lib = require('anything') Libraries, schmibraries
Fork the CDN https://fly.io
None
But it’s still Node
Rust & v8 (Hard mode) https://github.com/superfly/fly.rs #5
Good enough to handle DNS
We built a runtime We built a runtime
You can too You can too
None