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?