JSConf JP

V8: from <script> to `call $rcx`

SessionTrack AEnglish

As a JavaScript developer you might rarely think about what happens inside the browser with your code. We throw megabytes of code at it and within milliseconds run a snappy webpage. How is that even possible?

In this talk we'll peel back the covers and follow your code on its journey from the point where the first network package arrives to when your application is running. We'll revisit the classic techniques like hidden-classes, JIT compilation, and delve into the current state of the compiler pipeline. You will gain an appreciation of how many techniques like lazy compilation or background mode come together to deliver the web experience we all have gotten used to. You'll learn what the engine can do for your code, and — more importantly — what it can't.