Skip to content Skip to sidebar Skip to footer
Showing posts with the label V8

Why Does V8 Uses Pointer Tagging And Not Nan Boxing?

I'm learning V8 internals now. I learned that V8 uses pointer tagging for value storing, but wo… Read more Why Does V8 Uses Pointer Tagging And Not Nan Boxing?

Segfault In V8 On Windows In Handlescope Constructor

I developed a Windows Service in C++ that has V8 embedded. The Debug version is working good. The p… Read more Segfault In V8 On Windows In Handlescope Constructor

Filtering Unwanted Strings In V8 Heap Snapshot Programmatically (without Dev-tool Gui)

I have a Node app that sends JavaScript source code as string to a worker thread that executes it i… Read more Filtering Unwanted Strings In V8 Heap Snapshot Programmatically (without Dev-tool Gui)

How Is Adding A New Class With Prototype Methods A Form Of V8 Optimization In Js?

I'm reading through Winston's code base and there was a comment in their DerivedLogger clas… Read more How Is Adding A New Class With Prototype Methods A Form Of V8 Optimization In Js?

Performance Guidelines For Async/await In Node Version 8

async/await is available with node version 8. The code is linear for the first time in nodejs, nat… Read more Performance Guidelines For Async/await In Node Version 8

How Do You Free A Wrapped C++ Object When Associated Javascript Object Is Garbage Collected In V8?

V8's documentation explains how to create a Javascript object that wraps a C++ object. The Java… Read more How Do You Free A Wrapped C++ Object When Associated Javascript Object Is Garbage Collected In V8?

If V8 Rehashes When An Object Grows

Say you have a change in an object that triggers a change in the size of the underlying array or da… Read more If V8 Rehashes When An Object Grows

Could Someone Help Describe The Two Types Of Array Storage In Javascript?

I'm reading this article about V8 on HTML5Rocks. The article is old but I understand almost no… Read more Could Someone Help Describe The Two Types Of Array Storage In Javascript?

Why The Prototype Can Be Retrieved But The __proto__ Is Undefined In Javascript?

Now I am learning JavaScript prototype and __proto__, and find several useful links __proto__ VS. p… Read more Why The Prototype Can Be Retrieved But The __proto__ Is Undefined In Javascript?

JavaScript Internals: At What Interval Does The Event Loop Run?

This is a question about JavaScript internals. Lets say I have 10 async tasks that all take x numbe… Read more JavaScript Internals: At What Interval Does The Event Loop Run?