Главная
Study mode:
on
1
Introduction
2
What is Dart?
3
Dart execution and deployment
4
Dart-to-JavaScript compiler goals
5
Example: What's the point?
6
Code after tree shaking
7
User-definable operators
8
Compiled JavaScript code
9
Compact class definitions
10
Closures
11
Source code in Dart
12
Intermediate representations
13
SSA: Basic block graph
14
SSA: Dominator tree
15
Global value numbering 1
16
Global value numbering algorithm
17
Speculative optimizations
18
Profile guided optimizations
19
Dealing with control flow
20
Code size
21
Performance
22
Conclusions
Description:
Explore the intricacies of translating Dart to efficient JavaScript in this 58-minute conference talk from GOTO Aarhus 2012. Dive into the Dart programming language, its deployment options, and the challenges of optimizing Dart-to-JavaScript compilation. Learn about the compiler's goals, intermediate representations, and various optimization techniques including tree shaking, global value numbering, and speculative optimizations. Discover how user-definable operators, compact class definitions, and closures are handled in the compilation process. Examine the performance implications and code size considerations when converting Dart to JavaScript. Gain insights into the SSA representation, dominator trees, and profile-guided optimizations used to bridge the gap between Dart's low-level operators and JavaScript's built-in primitives.

Translating DART to Efficient JavaScript

GOTO Conferences
Add to list
0:00 / 0:00