V8 Flashcards

1
Q

What is essential for explaining how optimizations such as inline caches work in V8?

A

Understanding how properties work, particularly how V8 can provide fast property access while handling dynamically-added properties.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What different JavaScript engine do nodeJs and deno each use?

A

They actually both use v8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

High level, what are the differences in handling named vs integer-indexed properties?

A

https://v8.dev/blog/fast-properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In objects integer indexed properties are aka

A

Elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In v8 every object has what associated?

A

a HiddenClass

How well did you know this?
1
Not at all
2
3
4
5
Perfectly