By Google
Why Google Created Dart
What’s Cool About Dart
• Dart is open source
• Dart is easy to learn
• Dart compiles to JavaScript
• Dart runs in the client and on the server
• Dart comes with a lightweight editor
Dart Features
• Class-based inheritance with interfaces
• Optional static types
• Real lexical scoping
• Libraries
• Isolates
A Basic Dart Program
// Define a function.
printNumber(num aNumber)
{
print('The number is $aNumber.'); // Print to the console.
}
// This is where the app starts executing.
main()
{
var number = 42; // Declare and initialize a variable.
printNumber(number); // Call a function.
}
Dart Code Execution
The Team Behind Dart
 Lars Bak
> Beta Language
> HotSpot Java VM
> V8 Javascript VM in Google Chrome
> 18 Software patents
 Gilad Bracha
> Java Language Specification
> Java Virtual Machine Specification
Links
http://www.dartlang.org/
http://dart.googlecode.com/
Thank You

Dart

  • 1.
  • 2.
  • 3.
    What’s Cool AboutDart • Dart is open source • Dart is easy to learn • Dart compiles to JavaScript • Dart runs in the client and on the server • Dart comes with a lightweight editor
  • 4.
    Dart Features • Class-basedinheritance with interfaces • Optional static types • Real lexical scoping • Libraries • Isolates
  • 5.
    A Basic DartProgram // Define a function. printNumber(num aNumber) { print('The number is $aNumber.'); // Print to the console. } // This is where the app starts executing. main() { var number = 42; // Declare and initialize a variable. printNumber(number); // Call a function. }
  • 6.
  • 7.
    The Team BehindDart  Lars Bak > Beta Language > HotSpot Java VM > V8 Javascript VM in Google Chrome > 18 Software patents  Gilad Bracha > Java Language Specification > Java Virtual Machine Specification
  • 8.
  • 9.