Question: I don’t fully get what Node.js is all about. Maybe it’s because I am mainly a web based business application developer. What is it and what is the use of it? My understanding so far is that: The programming ...

Question: A rookie here. Messing with my google scripts projects I have found a strange thing, a method that I was using was strike-through in the editor and it looked like this –> substr . Researching, I found that it ...

Question: Since array.find() iterates over an array, if I handle (potentially) large arrays, I always make sure to have an indexed object like so: if I need to look up items by id in these arrays. However, living in a ...

Question: I am learning about GC’s and I know there’s a thing called HandleScope which ‘protects’ your local variables from the GC and updates them if a gc heap copy happens. For example, if I have a routine which adds ...

Question: I recently tried to eager compile my javascript function from the guide shown in the link-https://v8.dev/blog/code-caching-for-devs But even after enclosing the function in IIFE heuristics as said above, the V8 System analyzer shows its lazy compiled, and unoptimized. It ...

Question: I am making an application that requires me to call a function within some Javascript code. The problem is, despite looking it up many times, I still get the same error. No matching function for call to ‘v8::Object::Get(v8::Local<v8::Context>&, v8::MaybeLocal<v8::String>)’ ...

Question: I was playing around with the V8 engine and stumbled upon the zone stats tool. I understand the zone memory concept, but what are these different zones in zone stats memory? When I upload a trace zone memory log ...

Question: What I want to do is call already compiled functions in JS/v8 from c++. I’m doing this for a game engine I’m writing that uses V8 as the scripting back-end. This is kinda how a script would be formatted ...

Question: I am trying to compile C++ code to wasm and then embed it in other C++ code with wee8 (v8’s wasm-api). Currently I’m getting a Segfault on instantiating the module: Note that I have no problem embedding code that ...