Stream: wasmtime

Topic: Good starter issues on wasmtime


view this post on Zulip Leslie Carr (Dec 12 2024 at 23:20):

Hi folks! I've got someone starting on my wasm team at Fastly in early January and I am looking for good starter tasks for him to get an introduction to wasmtime. What issues would be good to get a feel for the codebase?

view this post on Zulip Chris Fallin (Dec 12 2024 at 23:53):

Hi Leslie, hope all's well! A few thoughts come to mind; @Alex Crichton and @fitzgen (he/him) probably have more (and prefer their ideas over mine honestly):

view this post on Zulip Alex Crichton (Dec 13 2024 at 00:46):

I haven't written up an issue on this (and would be happy too if it matches) but if they're experienced in C/C++ I've long wanted to improve the testing of wasmtimes C API in the main repository. This would mean probably moving wasmtime-cpp to the main repo and then setting up a test harness through that to test the C API with cmake or similar. Not necessarily the easiest starting point though unless they're already experienced with cmake and such

view this post on Zulip Alex Crichton (Dec 13 2024 at 00:47):

(and I'd of course second everything Chris said)

view this post on Zulip Alex Crichton (Dec 13 2024 at 00:51):

If they're interested in debugging and/or DWARF getting that up and running with Winch would also be a meaty project but a valuable one. (Saul could probably speak more to the difficulty)

Winch SIMD support might be on the easier side of the spectrum since it's mostly copying CLIF lowerings but would be nice to have.

view this post on Zulip Leslie Carr (Dec 13 2024 at 01:06):

He's not a C person, but he has had a bit of profiling performance optimization in his past -- and we're always very concerned about performance, so this might be a great way to kick things off :)

view this post on Zulip fitzgen (he/him) (Dec 13 2024 at 15:11):

Alex and Chris gave pretty thorough answers, but taking https://github.com/bytecodealliance/wasmtime/pull/9093 over the finish line would also be great and should improve wasm execution speed

Currently, we do an explicit check for stack overflow on entry to every WebAssembly function. But that costs some time, and is a significant performance hit for very short functions. This commit in...

view this post on Zulip Leslie Carr (Dec 13 2024 at 17:36):

@Dan Gohman has started on that one :)


Last updated: Dec 23 2024 at 14:03 UTC