CountBleck
CountBleck
AssemblyScript/AssemblyScript#2555 is the relevant PR, and it removes `__instanceof` entirely from the compiler. A workaround could be renaming `asdom`'s `Object` to, say, `JSObject`, and changing `__finalize.ts` like so: ```ts import...
Just realized I didn't commit the whole thing. It should be good to go now.
One caveat is that there is no stack in AS, except for the shadow stack used for garbage collection.
I believe this was discussed elsewhere and a long while back, but multi-value would probably be better suited for AS. Binaryen implements multi-value using a special tuple type, so I...
`__stack_pointer` is for that shadow stack I mentioned. The shadow stack is there so managed objects in local variables don't get prematurely garbage collected. `memory.data(123)` reserves a block of memory...
Yes, I agree with @HerrCai0907 in that the type that best fits your description is `externref`. However, `externref` can't be a class field, because storing values requires them to have...
While that might generally be a good idea on the web, that probably has a performance hit. That's okay if manipulating native pointers is a security concern though... @sasq64 are...
What's the use case for this?
Does this do anything that `--maximumMemory` doesn't?
Hmm, I think I'm confused. If you have more than 64 KiB of memory on your device, wouldn't `--maximumMemory` work? Or are you restricted to an amount of memory that's...