Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Dart Side of the Moon
Search
lvivski
June 02, 2013
Science
630
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Dart Side of the Moon
lvivski
June 02, 2013
Transcript
43 slides
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
More Decks by lvivski
See All by lvivski
Behind the Scenes: Dart
lvivski
0
640
Real Life Dart
lvivski
0
730
Other Decks in Science
See All in Science
[Relay webinaire eBIS actu n°16] Conclusion
institutdelelevage
PRO
0
310
人工知能のための哲学塾 ニューロフィロソフィ篇 第一夜 「無著、世親と唯識のはじまり、ニューラルネットワークのはじまり」
miyayou
0
150
機械学習 - K-means & 階層的クラスタリング
trycycle
PRO
0
2.4k
Wet Active Matter
rajeshrinet
0
280
Visual Linear Algebra - Lecture at Shosen Grande
hiranabe
0
720
Massey Ratings for Match Outcome Prediction in Table Tennis: Evidence of Greater Stability than the ITTF World Ranking
konakalab
0
200
AlgorithAlgorihms for Decision Making
mickey_kubo
0
200
Leitner Inauguration Lecture Chalmers University of Technology
xleitix
0
410
データベース09: 実体関連モデル上の一貫性制約
trycycle
PRO
0
1.9k
O(log n)-Approximation Algorithms for Bipartiteness Ratio
tasusu
0
310
データベース05: SQL(2/3) 結合質問
trycycle
PRO
0
1.4k
「表象」を再定義するー潜在表現解析の落とし穴
ykamit
0
1.2k
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
3.8k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
Navigating Weather and Climate Data
rabernat
0
590
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
1
240
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Writing Fast Ruby
sferik
630
63k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.7k
How to Ace a Technical Interview
jacobian
280
24k