inflearn logo

Quick look at the Javascript V8 engine

You can understand the JavaScript engine V8! You can get hints on how to write more efficient code.

(4.8) 12 reviews

124 learners

Level Basic

Course period Unlimited

JavaScript
JavaScript
Node.js
Node.js
v8
v8
JavaScript
JavaScript
Node.js
Node.js
v8
v8

Reviews from Early Learners

Reviews from Early Learners

4.8

5.0

nameunskadms

100% enrolled

A lecture that compactly explains rich and deep content! This is a lecture I've really been waiting for! I want to buy all the lectures you give in the future. take my money!!! Please give me more lectures!

5.0

망고

90% enrolled

Thank you for explaining the V8 engine so clearly—something I’ve always been curious about but could never understand whenever I tried to look it up. Haha. I think this is great for getting a handle on the overall flow.

5.0

무지55

100% enrolled

I once decided to study it someday but kept postponing it - this lecture provides a simple understanding of the v8 engine and is satisfying enough to make future learning feel less burdensome

What you will gain after the course

  • How the V8 Engine Works and Its History

  • JavaScript code execution flow

  • Optimization techniques such as inlining, hidden classes, and inline caching

  • Optimization tips when writing code

Understand how a V8 engine works,

Become a front-end developer who grows together!


If you are a web developer, you will often encounter Chrome browser and Node.js.

It is a JavaScript engine developed by Google.


This is helpful for people like this 🤓

🤔 : I want to become a better JavaScript developer...

🤗 : You may know JavaScript syntax, but to become a better developer, you need to have some understanding of how the JavaScript engine works.

There can be a big difference between writing your code without understanding how it will be executed and optimized, and writing it with understanding.

🤔 : So why is the engine important?

🤗 : Without an engine, the JavaScript language would be meaningless. Because the computer wouldn't be able to understand the code developers write. Of course, you don't need to know the ins and outs of the engine, but I'm confident that understanding how it works will lay the foundation for writing better code.

Learn this content 🤩

Section 0. Before we begin...

What will you gain from this lecture? Why should you know it? Let's find out together!

Section 1. JavaScript V8 Engine

Let's learn how the V8 engine works by looking at the JIT compiler, interpreter, and static compiler!
Also, learn about the background and history of the V8 engine and compare the compiler pipelines of other JavaScript engines, SpiderMonkey and JavaScriptCore (JSC)!

section1.001

Section 2. Optimization Strategies for the V8 Engine - Inlining

Let's find out what inlining optimization is!
Also, think about what benefits inlining optimization can bring!

section2.001

Section 3. Optimization Strategies for the V8 Engine - Hidden Class

Let's learn about the form of JavaScript Objects defined in the ECMAScript Spec and how to access properties within an object!
Let's take a look at why the concept of hidden classes came into being, what form they take, and the order in which Transition Chains are constructed, one by one!

section3.001

Section 4. Optimization Strategies for the V8 Engine - Inline Caches (ICs)

In Section 3, we learned about hidden classes! Let's explore how inline caching works and how to optimize it!

Let's take a look at what states (transition marks) inline caching manages and what you need to be careful about to get the benefits of inline caching!

section4.001

Section 5. A Closer Look at Hidden Classes

Let's take a true or false quiz by looking at example code and guessing whether two objects share the same hidden class!
We've prepared a total of six quizzes. Pause the screen for a moment and think about the answer as you proceed!
And we'll also take the time to compare the same hidden classes using the built-in functions of the V8 engine in Node.js!

section5.001

Section 6. Conclusion...

We'll conclude the lecture by learning three optimization tips for writing code, based on the concepts we've learned!

You've completed the course! Thank you for your hard work. 🎉

Recommended for
these people

Who is this course right for?

  • For those of you who were curious about how the V8 engine works

  • For those who want to know the JavaScript code execution flow

  • For those of you who have ever wondered how your code is optimized

  • For those who want to have a perspective from the engine perspective

Need to know before starting?

  • Basic knowledge of JavaScript

Hello
This is hajeonghun

124

Learners

12

Reviews

5

Answers

4.8

Rating

1

Course

Hello.

I am a frontend developer with a strong interest in various technologies and performance optimization.

 

📧: official.hajeonghun@gmail.com

More

Curriculum

All

20 lectures ∙ (1hr 34min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

12 reviews

4.8

12 reviews

  • muzi55님의 프로필 이미지
    muzi55

    Reviews 6

    Average Rating 4.3

    5

    100% enrolled

    I once decided to study it someday but kept postponing it - this lecture provides a simple understanding of the v8 engine and is satisfying enough to make future learning feel less burdensome

    • hajeonghun
      Instructor

      Muji55, I'm glad to hear you were satisfied. Thank you for your kind words, and I'll continue to root for you!

  • chldntn71905님의 프로필 이미지
    chldntn71905

    Reviews 22

    Average Rating 5.0

    5

    60% enrolled

    • fined0006806님의 프로필 이미지
      fined0006806

      Reviews 46

      Average Rating 4.7

      5

      90% enrolled

      Thank you for explaining the V8 engine so clearly—something I’ve always been curious about but could never understand whenever I tried to look it up. Haha. I think this is great for getting a handle on the overall flow.

      • hajeonghun
        Instructor

        I'm glad it was helpful for your understanding haha. I will always be rooting for you on your journey, Mango. Thank you for the kind words.

    • eddie85님의 프로필 이미지
      eddie85

      Reviews 7

      Average Rating 5.0

      5

      100% enrolled

      I was lost on how to approach or conceptualize, It greatly helped in visualizing the overall big picture.

      • hajeonghun
        Instructor

        That initial overwhelming feeling, I truly empathize. Still, I'm so glad you finished the course and it helped you grasp the big picture! If any other concepts or topics were similarly tough, please share anytime! I'd like to work through them together and share in a clear format :) Let's keep growing together! 💪

    • abcd123123님의 프로필 이미지
      abcd123123

      Reviews 330

      Average Rating 5.0

      5

      95% enrolled

      Similar courses

      Explore other courses in the same field!

      $19.80