Tim Hutt

Results 711 comments of Tim Hutt

Yeah I think anything that is true for *all* vector instructions (or at least the majority) should really go in functions if possible. Not sure about decoder vs execute. I...

Ah no yeah that's true, didn't know Sourceforge provided that. > did you mean using git or is there some separate GitHub service for download Not using git - you...

Actually I guess I can at least use `_io.size` instead of `_parent.block_length - 8`. Still - original question stands!

> But probably not for Why not? You can use `+` instead which makes the intention obvious and avoids the possibility of a mistake. ``` print( "Two roads diverged in...

There's no performance difference because [they compile to exactly the same bytecode](https://godbolt.org/z/PWKzTzb46). Maybe it shouldn't be the default, but there should at least be an option to ban all implicit...

Actually you can get the exit code like this, but it's still very weird. ``` let run_result = command.wasi_cli_run().call_run(&mut store).await; match run_result { Ok(res) => res.map_err(|_| anyhow!("Unknown error"))?, Err(error) =>...

What's the difference between an "err" status returned from `main` and a non-zero exit code? And that's unfortunate about the auto-generation. Seems like `Run the program.` comes from a `.wit`...

Ok even weirder, if you `exit(0)` then it still calls `exit-with-code` and you get an `Err(I32Exit(0))` which is really surprising. So actually I need to do: ``` let run_result =...

After having tried to write a parser for this format, I think there are a few tweaks that could make it a lot easier to parse without hurting readability. I'll...

One thing I wasn't quite sure about - there's `armasm` which claims `.s` files, but they can also be RISC-V assembly (or any kind of assembly). Is it ok to...