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
Dart Side of the Moon
Search
lvivski
June 02, 2013
Science
620
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Dart Side of the Moon
lvivski
June 02, 2013
More Decks by lvivski
See All by lvivski
Behind the Scenes: Dart
lvivski
0
640
Real Life Dart
lvivski
0
720
Other Decks in Science
See All in Science
AlgorithAlgorihms for Decision Making
mickey_kubo
0
130
Massey Ratings for Match Outcome Prediction in Table Tennis: Evidence of Greater Stability than the ITTF World Ranking
konakalab
0
130
How a camera trap data standard enabled an ecosystem of interoperable tools
peterdesmet
0
110
Sstニューロンによる睡眠不足と回復の制御:データ駆動型トランスクリプトーム解析
tagtag
PRO
0
120
社内で活躍できるデータサイエンティストになるために
aikinohara
1
130
データベース15: ビッグデータ時代のデータベース
trycycle
PRO
1
540
20260820_アウトカムが二値のデータに対するCausal Impact@LINEヤフー Data Science Share #2 / Causal Impact for Binary Outcomes
brainpadpr
1
170
Kritische evaluatie van GenAI-output voor literatuuronderzoek
voginip
0
210
大黒市で発生した大規模インシデント の ポストモーテムから読み解く、 記憶媒体消去の大切さ
shucho0103
0
230
AkarengaLT vol.40
hashimoto_kei
0
120
機械学習 - SVM
trycycle
PRO
2
1.2k
データベース06: SQL (3/3) 副問い合わせ
trycycle
PRO
1
1.1k
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
930
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
We Have a Design System, Now What?
morganepeng
55
8.3k
The agentic SEO stack - context over prompts
schlessera
0
870
Paper Plane (Part 1)
katiecoart
PRO
1
10k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
WENDY [Excerpt]
tessaabrams
11
39k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.2k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
470
Bash Introduction
62gerente
615
220k
Transcript
Yehor Lvivski @lvivski
The Dart side of the Moon
None
class-based single inheritance object-oriented
History
Oct 11, 2011 Apr 16, 2013 Summer 2013
M1, July 2012 • No explicit interfaces • No `+` on Strings
• Cascades `o..method()`
M2, December 2012 • Better Dart2js • PUB • Better libraries API
M3, February 2013 • Streams API • Lazy Iterators
M4, April 2013 Stability!
Who’s behind?
None
None
Why?
Performance
main(){}! Tree shaking Classes and Interfaces Optional types Concurrency Operator
overloading Optional and Named arguments Lightweight syntax
It’s not a syntax sugar
Standalone VM Browser integrated VM dart2js Compiler
None
How it works
None
None
None
Is it even possible?
Generated code is faster, than handwritten. Prototype-less code is faster,
than Prototype chains. Inlined functions, are faster too ;)
None
Laziness
None
Laziness • map()! • where() (filter analogue) • expand()!
Streams Reactive Programming
Streams • emit a repeating series of events (such as
messages, file data, user clicks) • single- or multi-subscriber • methods to take partial data (first, take, skip...) • check data (contains, any, every) • transform
Streams are Everywhere • Iterators (List, Queue, Set) • IO (File, HTTP)
• Events
Infrastructure
Editors
None
None
Package manager
None
Components
Dart Web UI Package
None
Demo time!
Links • h'p://www.dartlang.org • h'p://github.com/dart-‐lang/web-‐ui • h'p://github.com/lvivski
– speaker, start, hart, gloss, quart, archer Thanks