Dan Gohman

Results 179 issues of Dan Gohman

In https://github.com/bytecodealliance/wasmtime/pull/7662, there is discussion that a callback would be more useful than a simple set of allowed addresses. If that's true for Wasmtime, then it's true for cap-std in...

The `float32` and `float64` types are being [renamed to `f32` and `f64`]. All the main tools have been updated to accept both old and new names for now, so there's...

Add a paragraph documenting specialized types and their relationship to despecialized types. This is intended to help with #319.

Remove the restriction on component start functions calling imports. This allows start functions to run artbitrary user code. And, adjust the 🪙 to include start functions in the MVP, and...

I propose that the Wit format use `///` comments, rather than `//`. Wit itself [no longer has non-documentation comments](https://github.com/WebAssembly/component-model/issues/273), however multiple projects are looking at using Wit as a base...

The [Canonical ABI says](https://github.com/WebAssembly/component-model/blob/main/design/mvp/CanonicalABI.md#loading) > Integer-to-boolean conversions treats 0 as false and all other bit-patterns as true Why does it work this way, instead of doing `trap_if(i >= 2)` similar...

The component-model grammar has this for ``: ``` name ::= | - word ::= [a-z][0-9a-z]* | [A-Z][0-9A-Z]* ``` That accepts both "apple" and "APPLE". This leads to collisions when converting...

The wasi-io input-stream function `read()` returns a `list` by value. In practice, that means that it has to call `cabi_realloc` on every call to allocate memory for the list, and...

Per the discussion in https://github.com/WebAssembly/component-model/issues/277, there seems to be consensus for migrating the names of the types `float32` and `float64` to `f32` and `f64`. A plan for `f32`/`f64` is: -...

component-model
wit