~/talk

Virtual Machines 101

slides:none on file

Compares SpiderMonkey, V8, Chakra, JavaScriptCore and Nashorn and explains concrete internals: V8 skips bytecode to emit machine code; engines use hidden classes and inline caches plus SSA and loop‑hoisting to cut lookups and dead code; Chakra runs JIT and GC on separate cores; asm.js supplies type hints and claims 90% static code; avoid delete, sparse arrays, with and try/catch (deoptimizes); Avatar.js runs Express faster on Nashorn thanks to Java IO; one framework sees ~18% gain after removing deletes.

AI-written summary · about

  1. 0:00Start
  2. 3:55Requirements for a Client-Side Virtual Machine
  3. 4:25Difference between a Client-Side Virtual Machine and Server-Side Virtual Machine
  4. 4:53Databases
  5. 5:19Javascript Virtual Machines
  6. 6:48The Properties of a Virtual Machine
  7. 9:33Single Static Assignment
  8. 9:44Java Virtual Machine
  9. 11:40Fee Instruction
  10. 12:31Code Hoisting
  11. 12:56The Interpreter
  12. 15:36Interpreted Vms
  13. 18:26Demonstrating Hidden Classes
  14. 22:08Inline Caching
  15. 26:56Code Type Specialization
  16. 28:36Pitfalls
  17. 36:41C Extensions
  18. 40:49Pointer Tagging
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.