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
770
We built a runtime
Kurt Mackey
December 11, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
1.9k
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
230
ヤプリ新卒SREの オンボーディング
masaki12
0
130
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
600
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
190
C++でシェーダを書く
fadis
6
4.1k
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
Jakarta EE meets AI
ivargrimstad
0
180
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
300
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
KATA
mclloyd
29
14k
Code Review Best Practice
trishagee
64
17k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
The Invisible Side of Design
smashingmag
298
50k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Building Applications with DynamoDB
mza
90
6.1k
Unsuck your backbone
ammeep
668
57k
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