강의

멘토링

커뮤니티

Programming

/

Front-end

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.

(5.0) 10 reviews

119 learners

Level Basic

Course period Unlimited

  • hajeonghun
JavaScript
JavaScript
Node.js
Node.js
v8
v8
JavaScript
JavaScript
Node.js
Node.js
v8
v8

Reviews from Early Learners

Reviews from Early Learners

5.0

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

5.0

eddie

100% enrolled

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

5.0

아무도_모를_아이디

60% enrolled

I was excited to start watching the V8 engine lecture from the very first chapter. At first, there were some difficult parts, but I was able to catch on to what the functions were by looking at the keywords. Even if I didn't fully understand the content, I was able to get some good ideas about the V8 engine. It was a great lecture that was inspiring because there were novel aspects compared to other languages.

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

119

Learners

10

Reviews

5

Answers

5.0

Rating

1

Course

Hello.

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

 

📧: official.hajeonghun@gmail.com

Curriculum

All

20 lectures ∙ (1hr 34min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

10 reviews

5.0

10 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

    • chldntn71905님의 프로필 이미지
      chldntn71905

      Reviews 22

      Average Rating 5.0

      5

      60% enrolled

      • abcd123123님의 프로필 이미지
        abcd123123

        Reviews 327

        Average Rating 5.0

        5

        95% enrolled

        • 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! 💪

        • rmsqor49053님의 프로필 이미지
          rmsqor49053

          Reviews 2

          Average Rating 5.0

          5

          60% enrolled

          • hajeonghun
            Instructor

            Thank you! I'll keep providing helpful lectures in return!

        $19.80

        Similar courses

        Explore other courses in the same field!