Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Translating DART to Efficient JavaScript

GOTO Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Introduction
What is Dart?
Dart execution and deployment
Dart-to-JavaScript compiler goals
Example: What's the point?
Code after tree shaking
User-definable operators
Compiled JavaScript code
Compact class definitions
Closures
Source code in Dart
Intermediate representations
SSA: Basic block graph
SSA: Dominator tree
Global value numbering 1
Global value numbering algorithm
Speculative optimizations
Profile guided optimizations
Dealing with control flow
Code size
Performance
Conclusions

Taught by

GOTO Conferences

Reviews

Start your review of Translating DART to Efficient JavaScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.