Compiling Java Bytecode to JavaScript - An Interesting Problem

Compiling Java Bytecode to JavaScript - An Interesting Problem

JSConf via YouTube Direct link

spec bugs & inconsistencies

35 of 41

35 of 41

spec bugs & inconsistencies

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Compiling Java Bytecode to JavaScript - An Interesting Problem

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 JOA EBERT JVM/IS
  3. 3 aot vs jit
  4. 4 different optimizations
  5. 5 OPTIMISTIC ASSUMPTIONS
  6. 6 DEOPTIMIZATIONS
  7. 7 CLASSLOADER SUPPORT
  8. 8 workers RUN COSTLY OPTIMIZATIONS IN BACKGROUND
  9. 9 browser concentrates on user code
  10. 10 java is statically typed
  11. 11 we have a tracing compiler
  12. 12 scales across platforms
  13. 13 LABELED BLOCKS CONSIDERED EVIL!!11!
  14. 14 #SEMANTICS
  15. 15 impl jvm semantics for js
  16. 16 don't add too much overhead
  17. 17 class initializer
  18. 18 instance initialization
  19. 19 numerics
  20. 20 SIMPLIFY SIMPLIFY SIMPLIFY
  21. 21 10fps difference in v8
  22. 22 prototype voodoo
  23. 23 undefined === null //?
  24. 24 5x in firefox for richards benchmark
  25. 25 MORAL OF THE STORY?
  26. 26 should mimic
  27. 27 cleanup and simplify
  28. 28 take shortcuts
  29. 29 ABuse what's available
  30. 30 test and measure
  31. 31 MEASURE!
  32. 32 #OPTIMIZER
  33. 33 which one to use?
  34. 34 blink, servo, firefox ...
  35. 35 spec bugs & inconsistencies
  36. 36 always check for types
  37. 37 #DISPLAYLIST
  38. 38 optimize based on heuristic
  39. 39 cache vertices and culling information
  40. 40 COMANCHE
  41. 41 HEISENBERG

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.