Raf (Raffaele Rialdi)
Raf (Raffaele Rialdi)
Got it, it makes sense. My scenario is simple: say you have a lot of disks to read: you process one after the other disregarding the console output. At the...
> I don't do filesystem analysis in Greaseweazle currently. Adding FAT12 wouldn't be hard I suppose. If you want to let somebody do it externally, it would be very useful...
Thank you @addaleax In the `napi.h` header I can't see the wrapper for the integer. The `class Number : public Value { ... }` holds the value in a `double`...
@addaleax my concerns are not about a nice constructor, but holding the value in a double instead of integer. I remember with V8 could tell me whether a number was...
I believe we are talking about different things. If you use a for loop using a double or an integer for the variable, you will see a huge difference in...
I meant js loops using variables coming from C++ The point here is that the old V8::Value knows if the value is an integer or not. In the N-API I...
> Okay, then you’re good here, because as I mentioned, V8 will implicitly create integers when using `napi_create_number()` with a double-that-represents-an-integer-value argument. That is in line to what I saw...
I don't mean storing the value, but the type of the value. V8 has it (as well as the 'old' node API), N-API apparently not (see `napi_valuetype` I posted before).
I will make some test, but if I can't distinguish the type, I will sadly have to drop the N-API form my addon.
I will make some test to understand the issues. Believe me, I am at the second line of my addon, and I already lost 5 days because of missing (or...