clojure and android
play

Clojure and Android Daniel Solano Gmez Sattvik Software & T - PowerPoint PPT Presentation

Clojure and Android Daniel Solano Gmez Sattvik Software & T echnology Resources, Ltd. Co. Clojure/conj 2011 Clojure in Small Places Daniel Solano Gmez Sattvik Software & T echnology Resources, Ltd. Co. Clojure/conj 2011 Clojure


  1. Clojure and Android Daniel Solano Gómez Sattvik Software & T echnology Resources, Ltd. Co. Clojure/conj 2011

  2. Clojure in Small Places Daniel Solano Gómez Sattvik Software & T echnology Resources, Ltd. Co. Clojure/conj 2011

  3. Clojure to go Daniel Solano Gómez Sattvik Software & T echnology Resources, Ltd. Co. Clojure/conj 2011

  4. Overview Android and the Dalvik VM Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  5. Clojure and Android Daniel Solano Gómez Android and the Dalvik VM Android and the What is Android? Dalvik VM Java VM vs. Dalvik VM What is Android? Frome source to a running app Java VM vs. Dalvik VM Frome source to a What it all means running app What it all means Dynamic Dynamic compilation compilation Performance Performance Improving the Clojure/Android Improving the Clojure/Android experience experience Closing thoughts Closing thoughts

  6. Clojure and What is Android? Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  7. Clojure and Android architecture Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  8. Clojure and Android architecture Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  9. Clojure and Android architecture Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  10. Clojure and Android architecture Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  11. Clojure and Android architecture Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  12. Clojure and The good news Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  13. ; => false Clojure and The bad news Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic (= JavaVM DalvikVM) compilation Performance Improving the Clojure/Android experience Closing thoughts

  14. Clojure and The bad news Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic (= JavaVM DalvikVM) compilation Performance Improving the ; => false Clojure/Android experience Closing thoughts

  15. Clojure and Java VM vs. Dalvik VM Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  16. Processing power Up to 2 1.2GHz Up to lots Max heap size 256MiB+ 16-48 MiB APIs Java SE Not quite Java SE Executable format class Dalvik EXecutable (DEX) Clojure and Java VM vs. Dalvik VM Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a Java VM Dalvik VM running app What it all means Dynamic VM type stack-based register-based compilation JIT type method trace Parallel GC? Yes Only Android 2.3+ Performance Improving the Clojure/Android experience Closing thoughts

  17. APIs Java SE Not quite Java SE Executable format class Dalvik EXecutable (DEX) Clojure and Java VM vs. Dalvik VM Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a Java VM Dalvik VM running app What it all means Dynamic VM type stack-based register-based compilation JIT type method trace Parallel GC? Yes Only Android 2.3+ Performance Improving the Processing power Up to 2 × 1.2GHz Up to lots Clojure/Android Max heap size 256MiB+ 16-48 MiB experience Closing thoughts

  18. Clojure and Java VM vs. Dalvik VM Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a Java VM Dalvik VM running app What it all means Dynamic VM type stack-based register-based compilation JIT type method trace Parallel GC? Yes Only Android 2.3+ Performance Improving the Processing power Up to 2 × 1.2GHz Up to lots Clojure/Android Max heap size 256MiB+ 16-48 MiB experience Closing thoughts APIs Java SE Not quite Java SE Executable format class Dalvik EXecutable (DEX)

  19. Clojure and A class file Android Daniel Solano Gómez Android and the Dalvik VM Class file What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  20. Clojure and A class file Android Daniel Solano Gómez Android and the Dalvik VM Class file What is Android? Java VM vs. Dalvik VM Header Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  21. Clojure and A class file Android Daniel Solano Gómez Android and the Dalvik VM Class file What is Android? Java VM vs. Dalvik VM Header Frome source to a running app What it all means Constant pool Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  22. Clojure and A class file Android Daniel Solano Gómez Android and the Dalvik VM Class file What is Android? Java VM vs. Dalvik VM Header Frome source to a running app What it all means Constant pool Dynamic compilation Performance Improving the Clojure/Android experience Other data/code Closing thoughts

  23. Clojure and An application Android Daniel Solano Gómez Android and the Dalvik VM A.class B.class B.class C.class What is Android? Java VM vs. Dalvik VM Frome source to a running app What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  24. Clojure and An application Android Daniel Solano Gómez Android and the Dalvik VM App.jar What is Android? Java VM vs. Dalvik VM Frome source to a running app A.class B.class B.class C.class What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  25. Clojure and A problem Android Daniel Solano Gómez Android and the Dalvik VM App.jar What is Android? Java VM vs. Dalvik VM Frome source to a running app A.class B.class B.class C.class What it all means Dynamic compilation Performance Improving the Clojure/Android experience Closing thoughts

  26. Clojure and Creating a DEX Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app App.jar classes.dex What it all means Dynamic A.class B.class B.class C.class compilation Performance Improving the Clojure/Android experience Closing thoughts

  27. Clojure and Creating a DEX Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app App.jar classes.dex What it all means Dynamic A.class B.class B.class C.class compilation Performance Improving the Clojure/Android experience Closing thoughts

  28. Clojure and Creating a DEX Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app App.jar classes.dex What it all means Dynamic A.class B.class B.class C.class compilation Performance Improving the Clojure/Android experience Closing thoughts

  29. Clojure and Creating a DEX Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app App.jar classes.dex What it all means Dynamic A.class B.class B.class C.class compilation Performance Improving the Clojure/Android experience Closing thoughts

  30. Clojure and Creating a DEX Android Daniel Solano Gómez Android and the Dalvik VM What is Android? Java VM vs. Dalvik VM Frome source to a running app App.jar classes.dex What it all means Dynamic A.class B.class B.class C.class compilation Performance Improving the Clojure/Android experience Closing thoughts

Recommend


More recommend