paint-brush
Understanding Chrome V8 — Chapter 14: What is Dynamically Typed JS by@huidou
224 reads

Understanding Chrome V8 — Chapter 14: What is Dynamically Typed JS

by 灰豆18mSeptember 17th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In C++, a JavaScript object is just a piece of memory with no type. C++ doesn’t know how many and what values are in this memory. In JavaScript, these values can change dynamically, so how can C++ know the latest type in order to maintain a JavaScript. V8 updates the latest addressing method into the JavasCript object’s map in time once its type changes. In this way, JavaScript developers can alter the object type freely. The technology behind the dynamic features is powered by C++.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Understanding Chrome V8 — Chapter 14: What is Dynamically Typed JS
灰豆 HackerNoon profile picture
灰豆

灰豆

@huidou

a big fan of chrome V8

About @huidou
LEARN MORE ABOUT @HUIDOU'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

L O A D I N G
. . . comments & more!

About Author

灰豆 HackerNoon profile picture
灰豆@huidou
a big fan of chrome V8

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Thetechstreetnow