Andreas Rossberg

Results 957 comments of Andreas Rossberg

Yes, it is indeed true that ownership would not be needed in the case of Module::make, but for most of the other uses of vec. Not sure I understand your...

Ah, no, it has nothing to do with the notion of vec in the spec.

The intended way for the API to support engine-specific options is through the abstract wasm::Config object passed to the Engine constructor. This object is meant to be an extension hook....

Good question. For the JS API, (A) holds. But it might be less clear that it should be enforced on the C/C++ level as well, since that might come with...

I'm not sure I understand the proposal. What would such a module be? AFAICT, there is no corresponding mechanism in engines. What could you do with it other than trivially...

Hm, I'm still rather fuzzy on what you have in mind. Can you sketch the signature of the constructor function for creating such a "host" module?

Thanks, I see. This seems plausible, but it strikes me as something that may easily and more naturally be modelled as a separate layer. Is there a reason why it...

Thanks for the bug report. From the stack trace it looks like you are using V8's native implementation of the API. In that case, please file this bug with V8's...

@AndrewScheidecker, it's even more complicated than that: you'll also need to put a shared attribute on reference types and corresponding typing rules, you'll want new atomic instructions to access the...

@geloizi, yes. Same as on the Web. A module instance of several MB sounds like a lot. A small instance should have a small memory footprint. What's in that module?