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
Rust is the only thing that's left
Search
Florian Gilcher
May 15, 2015
Programming
2
400
Rust is the only thing that's left
Florian Gilcher
May 15, 2015
Tweet
Share
More Decks by Florian Gilcher
See All by Florian Gilcher
A new contract with users
skade
1
430
Using Rust to interface with my dive computer
skade
0
170
async/.await with async-std
skade
1
710
Training Rust
skade
1
69
Internet of Streams - IoT in Rust
skade
0
64
How DevRel is failing communities
skade
0
55
The power of the where clause
skade
0
540
Three Years of Rust
skade
1
150
Rust as a CLI language
skade
1
170
Other Decks in Programming
See All in Programming
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
暇に任せてProxmoxコンソール 作ってみました
karugamo
1
720
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
240
Symfony Mapper Component
soyuka
2
730
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
プロダクトの品質に コミットする / Commit to Product Quality
pekepek
2
770
DevFest Tokyo 2025 - Flutter のアプリアーキテクチャ現在地点
wasabeef
5
900
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
MCP with Cloudflare Workers
yusukebe
2
220
talk-with-local-llm-with-web-streams-api
kbaba1001
0
180
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Making Projects Easy
brettharned
116
5.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Facilitating Awesome Meetings
lara
50
6.1k
YesSQL, Process and Tooling at Scale
rocio
169
14k
It's Worth the Effort
3n
183
28k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Music & Morning Musume
bryan
46
6.2k
Transcript
5XVW LV WKH 2QO\ 7KLQJ 7KDWȿV /HIW
5XVW GHYHORSPHQW r 6WDUWHG ! \HDUV DJR r +REE\
SURMHFW SLFNHG XS E\ 0R]LOOD
5XVW GHYHORSPHQW r )LUVW GHYHORSHG E\ *UD\GRQ +RDUH r &KDQJHG
WHDP PXOWLSOH WLPHV LQ EHWZHHQ
7KUHH JRDOV r 6DIH r &RQFXUUHQW r 3UHGLFWDEO\ IDVW
6DIH r 6WDWLF W\SH V\VWHP ZLWK ORFDO W\SH LQIHUHQFH r
1XOOSRLQWHU IUHH H[FHSW r 8QLTXH SRLQWHUV DOO WKH ZD\
&RQFXUUHQW r 0XWDELOLW\ DV D ѹUVWFODVV FRQFHSW r 1R VKDUHG
PXWDEOH VWDWH r ,PSRUWDQW EDVH W\SHV EXLOW LQ
3UHGLFWDEO\ IDVW r 1R KLGGHQ DOORFDWLRQV r 3UHGLFWDEOH GHDOORFDWLRQV r
$EVWUDFWLRQV PXVW EH ]HURFRVW RU FKHDS FRPSXWDWLRQZLVH r H[FHSW RSWLRQDO XQVDIH VXEODQ JXDJH
:HȿUH DLPLQJ DW & KHUH r &RQWUROODEOH PHPRU\OD\RXW r &DQ
JHQHUDWH &$%, ELQDULHV r 1R UXQWLPH r &ORVH WR WKH PDFKLQH
:KDW GRHV LW ORRN OLNH"
IQ PDLQ ^ SULQWOQ +HOOR 5XVW SULQWOQ ,
ZDV UHOHDVHG MXVW D IHZ PLQXWHV `
%UDFHV OLNH 5LFKLH LQGHQWHG
>GHSUHFDWHG VLQFH @ IQ ODPHBGHQQLVBULFKLHBMRNH ^ KDYH WR
ERUURZ P\VHOI D QHZ RQH `
SXE W\SH ,G X SXE HQXP .H\7\SH ^ 4XHXH &KXQ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! LQW ^ [
` IQ PDLQ ^ DVVHUWBHT DGGBRQH `
IQ PDLQ ^ OHW [ L OHW \ PXW [
` HUURU FDQQRW ERUURZ LPPXWDEOH ORFDO YDULDEOH C[C DV PXWDEOH IQ PDLQ ^ OHW PXW [ L OHW \ PXW [ `
WUDLW $FFHVV IRU 'DWDEDVH ^ IQ JHW VHOI NH\ >X@
^ ` IQ SXW PXW VHOI NH\ >X@ YDOXH >X@ ^ ` `
0XWDELOLW\ UXQV GHHS
2ZQHUVKLS ERUURZLQJ
r (YHU\ UHVRXUFH LQ 5XVW KDV D VLQJOH RZQHU r
FRQWUROV ZKHQ WKH UHVRXUFH LV GHDO ORFDWHG
r PD\ OHQG WKDW UHVRXUFH LPPXWDEO\ DV PXFK DV ZDQWHG
r PD\ OHQG WKDW UHVRXUFH PXWDEO\ WR D VLQJOH ERUURZHU r ERUURZV FDQQRW RXWOLYH WKH RZQHU
5HIFRXQWLQJ IRU SHRSOH WKDW FDQ RQO\ FRXQW WR RQH
2ZQHUVKLS FDQ PRYH EXW QHYHU EH FRSLHG
9DOXHV FDQ EH FRSLHG FORQHG HWF DQG ZLOO WKHQ EH
RZQHG E\ VRPHRQH HOVH
'HFLGDEOH DW FRPSLOH WLPH
3UHGLFWLEOH VDIH PHPRU\ PDQDJHPHQW ZLWKRXW JDUEDJH FROOHFWLRQ
IQ PDLQ ^ OHW WHPSGLU WU\ 7HPS'LUQHZ VWUDQJHJURXS OHW
PXW WHPSILOH WU\ )LOHFUHDWH WHPSGLUSDWK MRLQ WPS ORRN QR FORVH QHFHVVDU\ `
'HDOORFDWLRQ DQG GHVWUXFWRUV UXQ ZKHQ OHDYLQJ WKH VFRSH
IQ PDLQ ^ OHW WHPSGLU WU\ 7HPS'LUQHZ VWUDQJHJURXS OHW
PXW WHPSILOH WU\ )LOHFUHDWH WHPSGLUSDWK MRLQ WPS GURS WHPSILOH `
>LQOLQH@ >VWDEOH@ SXE IQ GURS7! B[ 7 ^ `
WDNHV RZQHUVKLS GRHV QRWKLQJ
0XWDELOLW\ WUDFNLQJ D VHW RI FDUHIXOO\ FKRVHQ EDVH WUDLWV DQG
ERUURZ UXOHV IRUP WKH EDVLV RI PDNLQJ 5XVW D VDIH ODQJXDJH IRU FRQFXUUHQW XVH
1R PXWDEOH ERUURZV RYHU ERXQGDULHV VSHFLDO WUDLWV IRU WKLQJV WKDW
FDQ EH VHQW EHWZHHQ WDVNV
)), >UHSU F @ VWUXFW 0\6WUXFW ^ RQH LQW WZR
LQW ` IUHH PRYHPHQW EHWZHHQ &6SDFH DQG 5XVW6SDFH
>OLQN QDPH WVP @ H[WHUQ ^ SXE IQ WVPBYWHBQHZ RXW
PXW PXW WVPBYWH FRQ PXW WVPBVFUHHQ ZULWHBFE WVPBZULWHBFE GDWD PXW FBYRLG ORJ 2SWLRQWVPBORJBW! ORJBGDWD PXW FBYRLG ! FBLQW ` H[WHUQ & IQ ZULWHBFE B FRQVW WVPBYWH B FRQVW X B VL]HBW B FBYRLG ^`
XQVDIH LPSO .H\ ^ SXE IQ IURPBX NH\ >X@ !
.H\ ^ XVH VWGPHPWUDQVPXWH DVVHUW NH\OHQ XQVDIH ^ WUDQVPXWH NH\DVBSWU ` ` `
$ VXEODQJXDJH IRU SRLQWHU ѹGGOLQJ XQVDIH PHPRU\ RSHUDWLRQV IRU VSHHG
LQWHUIDFLQJ ZLWK & HWF
None
$JJUHVVLYH ELDV WRZDUGV XVLQJ WKH ODQJXDJH WR JDLQ LQVLJKW
5XVW ZDQWV \RX WR GHFODUH D ORW
5XVW KDV D FRPSODLQHU
7KH DPRXQW RI OLQWV EXLOW LQWR WKH FRPSLOHU LV PLQGERJJOLQJ
VWULFW DQG YHU\ XVHIXO
XVH VWGLR7HPS'LU IQ PDLQ ^ 7HPS'LUQHZ VWUDQJHJURXS `
ZDUQLQJ XQXVHG UHVXOW ZKLFK PXVW EH XVHG >ZDUQ XQXVHGBPXVWBXVH @ RQ E\ GHIDXOW
XVH VWGLR7HPS'LU >GHQ\ XQXVHGBPXVWBXVH @ IQ PDLQ ^ 7HPS'LUQHZ VWUDQJHJURXS
` HUURU XQXVHG UHVXOW ZKLFK PXVW EH XVHG
5HVXOWV DUH HYHU\ZKHUH
>GHQ\ PLVVLQJBGRFV @ >GHQ\ ZDUQLQJV @ .DUPD ERRVW
7KLV LV D ѹUVWFODVV ODQJXDJH IHDWXUH QRW D FRPSLOHU IHDWXUH
r 8QXVHG GRFXPHQWDWLRQ r 7\SH FDVLQJ r 8QXVHG FRGH r
8QXVHG VWUXFW ѹHOGV r SULYDWH VWUXFW OHDNV
*RRG GRF WRROV r UXVWGRF DOORZV WHVWLQJ RI HPEHGGHG FRGH
r PRVW H[DPSOH FRGH LQ WKH UXVW ZRUOG LV UXQQDEOH IRU WKDW UHDVRQ r SOD\UXVWODQJRUJ DOORZV SOD\LQJ ZLWK LW
'HSHQGHQF\ PDQDJHPHQW WRROV r &DUJR OLNH %XQGOHU IRU 5XVW r
7KH WKLUG WU\ r 6DQH GHIDXOW FRGH OD\RXW UXOHV r 3URYLGHV WHVW KDUQHVV
%LDV WRZDUGV JRRG GRFXPHQWDWLRQ r *XLGH FXUUHQWO\ ZULWWHQ E\ D
SDLG DXWKRU 6WHYH .ODEQLN r *RRG GRFXPHQWDWLRQ RI WKH VWDEOH VWGOLE r 6WDELOLW\PDUNHUV WKURXJKRXW
3URGXFWLRQ XVH r 8VHG WR EXLOG D EURZVHU HQJLQH SDVVLQJ
$&,' 6HUYR r 8VHG DW VN\OLJKWLR r $ FRXSOH RI VPDOO WRROLQJ WDVNV
6WDELOLW\ 5XVW KDV QR UXQWLPH 7KH UHVXOWLQJ ELQDULHV DUH RI
JRRG TXDOLW\
8VDJH 5XVW LV D JRRG ODQJXDJH WR ELQG WR &
OLEUDULHV DQG SURYLGHV WRROV WR HDVLO\ DEVWUDFW RYHU &
,W LV DOVR D JRRG ODQJXDJH WR UHSODFH & OLEUDULHV
5XVW DLPV WR IXOѹOO DOO \RXU QHHGV ZKHQ JHQHUDWLQJ QDWLYH
ELQDULHV GRZQ WR VSHFLѹFV RI PLFURSURFHVVRUV
*DPH GHYHORSPHQW WDNHV KXJH LQWHUHVW
([WUHPH IRFXV RQ FRPPXQLW\ r &RPPXQLW\ FRGH RI FRQGXFW r
WKDW KDV VHHQ QHFHVVLW\ DQG XVH r )XOO PRGHUDWLRQ WHDPV IRU KWWSVXVHUVUXVWODQJRUJ KWWSVLQWHUQDOVUXVWODQJRUJ KWWSVUHGGLWFRPUUXVW UXVW ,5& r $ZHVRPH FRPPXQLW\ FRGH UHYLHZV
r :HHNO\ QHZVOHWWHUV DERXW FKDQJHV r RSHQ FRUH PHHWLQJV r
PHHWXS JURXSV DURXQG WKH ZRUOG
&DQ , XVH LW QRZ" <HV
6KRXOG ," ,I \RX DUH LQWR V\VWHPV SURJUDPPLQJ \HV ,I
QRW 5XVW LV D JUHDW ODQJXDJH WR OHDUQ LW
7\SH V\VWHP 5XVW XVHV D OLQHDU DIѹQH WR EH H[DFW
W\SH V\VWHP ZLWKRXW HYHU PHQWLRQLQJ LW RU KDYLQJ \RX ERWKHU ZLWK LW
$ ELW RI KLVWRU\ 5XVW \HDUV DJR
IQ GUDZBDBVTXDUHBDQGBDBFLUFOH JI[ JUDSKLFVBFRQWH[W ^ OHW V #VTXDUH
OHW F #FLUFOH OHW REMV >V DV GUDZ F DV GUDZ@ GUDZBDOO JI[ REMV ` IQ GUDZBPDQ\'GUDZ! JI[ JUDSKLFVBFRQWH[W GUDZDEOHV >'@ ^ IRU GUDZDEOHVHDFK ^_GUDZDEOH_ GUDZDEOHGUDZ JI[ ` `
r &ODVVHV ,QWHUIDFHV r 2SWLRQDO *DUEDJH FROOHFWLRQ r 7DVN5XQWLPH XVLQJ
OLEXY XQGHU WKH KRRG ODWHU PXOWLSOH r 6WDU :DUV UHGHѹQHG a # DV SRLQWHU VLJLOV r $ ORW PRUH VSHFLDO FDVHV HJ RZQHG SRLQWHUV YV JFHG SRLQWHUV
,I WKHUH DUH WZR ZD\V OHWȿV GR WKHP ERWK
5XVW WRGD\
r 7UDLWV 6WUXFWV DQG (QXPV RQO\ r 1R JDUEDJH FROOHFWLRQ
r $OO WUDFHV RI UXQWLPHV UHPRYHG r 6WDU :DUV ROGVFKRRO DUH WKH RQO\ VLJLOV OHIW r D UDWKHU OHDQ ODQJXDJH
7KHUH DUH PXOWLSOH ZD\V OHWȿV SURYLGH WKH EXLOGLQJ EORFNV
0XOWLSOH UHZULWHV RI LPSRUWDQW SDUWV RI WKH VWGOLE
7ULPPLQJ DQG WKURZLQJ DZD\ LV D VWURQJ SDUW RI WKH
FXOWXUH XQWLO UHOHDVH
&OHDU IRFXV DQG WDUJHW
5XVW LV WKH RQO\ WKLQJ WKDWȿV OHIW DIWHU WKDW
7KDQN \RX