Google Dart Pecha Kucha from OOP 2012

1,594 views
1,503 views

Published on

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,594
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Google Dart Pecha Kucha from OOP 2012

  1. 1. Logic&
  2. 2. •  Lars&Bak& –  HotSpot&Java&VM& –  V8&JavaScript&VM&in&Google& Chrome& –  18&so=ware&patents&
  3. 3. •  Gilad&Bracha& –  ComputaAonal&Theologist&and& later&DisAnguished&Engineer& at&Sun& –  Java&Language&SpecificaAon& –  Java&Virtual&Machine& SpecificaAon&
  4. 4. •  C&like&Syntax&•  Goal:&Mass&Appeal&int fib(int n) { if (n <= 1) return n; return fib(n - 1) + fib(n - 2); } main() { print(fib(20) = ${fib(20)}); }
  5. 5. Compiler&JavaScript*
  6. 6. Compiler& VM*BuildingDar4um*
  7. 7. Sta4c* Dynamic*Typing* Typing*
  8. 8. Op4onal*Typing*
  9. 9. class Person {} class Customer extends Person { buy() {print("bought");} } main() { Person p = new Customer(); p.buy(); }
  10. 10. •  Type&Warnings&but&code&runs&•  Type&annotaAons&don’t&change&behavior&
  11. 11. Classic&Concurrency&Threads& Object&with&State&
  12. 12. Message& Port& Isolate& with&State&
  13. 13. class Printer extends Isolate { main() { port.receive((message, replyTo) { if (message == null) port.close(); else print(message); }); } }
  14. 14. Port& Isolate&
  15. 15. Port& Isolate&
  16. 16. & ?&
  17. 17. www.dartlang.org&
  18. 18. Tech&Preview&

×