Oscar Spencer

Results 135 issues of Oscar Spencer

Draft because Reactr does not conform to canonical ABI, so this wit file cannot be used to generate bindings that will "just work."

We currently call one setup function with both the imports from the host and the identifier for the current run. There's no real performance hit, though it's slightly awkward.

This may also need to be implemented for other languages. Headers can be passed the same way as HTTP handles headers.

If a trap occurs in some wasm code, the process terminates with `signal: illegal instruction`. We should handle these gracefully.

With this Rust wasm Runnable: ``` use suborbital::runnable::*; use suborbital::resp; struct ContentType{} impl Runnable for ContentType { fn run(&self, input: Vec) -> Result { let in_string = String::from_utf8(input).unwrap(); resp::content_type("application/json"); Ok(String::from(format!("hello...

bug

My understanding of these two functions is that they return the number of Unicode scalars in a string, such that `List.length(decodeUcharInString(s)) == countInString(s)` should always be true (but let me...

Closes #1319 I'll use what I wrote in the docs as my PR description 🤓 > Grain also allows the definition of custom infix operators. Custom operators in Grain must...

Grain currently allocates a closure for every function. However, many functions don't close over anything and are called by name, so the closure isn't necessary. We can save a lot...