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
790
We built a runtime
Kurt Mackey
December 11, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
Serverless Rust: Your Low-Risk Entry Point to Rust in Production (and the benefits are huge)
lmammino
1
160
新宿駅構内を三人称視点で探索してみる
satoshi7190
2
120
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
240
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
19
4.2k
もう僕は OpenAPI を書きたくない
sgash708
6
1.9k
Domain-Driven Design (Tutorial)
hschwentner
13
22k
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
250
複数のAWSアカウントから横断で 利用する Lambda Authorizer の作り方
tc3jp
0
120
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
270
「個人開発マネタイズ大全」が教えてくれたこと
bani24884
1
280
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
260
PRレビューのお供にDanger
stoticdev
1
240
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
A designer walks into a library…
pauljervisheath
205
24k
We Have a Design System, Now What?
morganepeng
51
7.4k
Facilitating Awesome Meetings
lara
53
6.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
650
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
580
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
530
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
52k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
GraphQLとの向き合い方2022年版
quramy
44
14k
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