Thomas Lively

Results 857 comments of Thomas Lively

Yep, that would work fine as long as such a host function exists, but it might not in general. For example the host might only pass in the value as...

@rossberg, that sounds fine to me, but do we have a way of normatively constraining hosts that way? (Other than in the JS API specifically)

This actually seems similar to the ideas in https://github.com/WebAssembly/call-tags, just using "RTT" intead of "call tag." This issue may also become moot depending on the results of #275.

I'm not sure the benefit of having wasm instruction counts match native instruction counts is worth all the the extra work of making engines pattern match instruction sequences. In general,...

Note that wasm32 and wasm64 refer to the pointer size of a Wasm linear memory, but this GC proposal does not depend on a linear memory at all. The structs...

Under the current spec, allocating an array of references doesn't imply that the objects that the array refers to are allocated in a contiguous block, just that the pointers to...

Can you clarify what you mean by "to be usable?" Are there real-world applications that would require these conversions for which scalarizing them would be insufficient?

I think @rrwinterton has been working on a header to supply source-level intrinsics for the SIMD instructions. However, I don't think such a header file necessarily needs to be part...

I would hope that engines would be able recognize that e.g. `i8x16.shr_s(v, -1)` is the same as `i8x16.shr_s(v, 7)`. FWIW, LLVM will never emit the former and already optimizes the...

> I think the right next step (in parallel to fleshing out the aforementioned TODOs) is to start work on a tool for doing the fusion and (optionally, for JS...