Max Graey

Results 346 comments of Max Graey

I agree that we should improve initial startup time. But I'm wondering what is you system, node.js version and cpu? Here is my time for MacBook 2019, macOS 12.5, node...

Another solution is using `ArrayBuffer` in special way. So on AS side you could export `ArrayBuffer` and during js binding it will be pass by ref, not by value (by...

No, it's just aliases. At the very least for `shuffle` I see no reason to have only the generic version, as it violates the general conventions. That is, I see...

Well, in Wasm SIMD we have only one `i8x16.shuffle` but we have generic wrapper for specific scalar type. The main problem with generic wrapper is imprecise size of arguments (which...

```ts type FailingA = T; // fails type FailingB = Array; // fails type FailingC = Dummy; // fails type FailingD = Map; // fails ``` All these cases should...

It also [works in TS](https://www.typescriptlang.org/play?strict=true#code/JYOwLgpgTgZghgYwgAgGIHt3IN4FgBQyRyMmAPACoB8AFAJQBcyAbusACYEC+BBCANnADOQ5ACE4UZMAC2AB34QZEcKIxY8hYqXT0mrDjh75jQA)

This may be possible via `@record` and `tuples`. But it required multi-values Wasm proposal. We have discussed this more than once in the chat room and in the issues

It seems TS support import `.js` files only with `--allowJs` option. And this is quite obvious, since TS is trying to smooth the migration from JavaScript to TypeScript and such...