Stream: git-wasmtime

Topic: wasmtime / PR #4989 Cleanup cranelift-frontend


view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 19:28):

jameysharp requested cfallin for a review on PR #4989.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 19:28):

jameysharp opened PR #4989 from cleanup-frontend to main:

This PR eliminates most of the per-block state tracked by the frontend module in cranelift-frontend. I think I can eliminate the last bits of state while preserving all the debug-assertions, but I want to think about that more.

I tried to keep the individual commits well-separated so it may be worth reviewing them individually.

This saves a tiny bit of memory allocations and traffic, according to DHAT, but has basically no impact on performance.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 20:27):

abrown submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 20:53):

bjorn3 created PR review comment:

Saltwater uses this function. (and so does it fork crabwater that aims to revive saltwater).

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 20:53):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 20:58):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:01):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:01):

jameysharp created PR review comment:

I gather you mean https://github.com/nulla-git/crabwater/? I didn't know that existed.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:08):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:08):

bjorn3 created PR review comment:

Yes

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:11):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:11):

jameysharp created PR review comment:

After discussion with Chris, I'm going to merge this despite that breakage. For anyone who's using this API, I'd be happy to help with migrating to something else after a discussion about what they actually need from it.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:11):

jameysharp merged PR #4989.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:21):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 21:21):

cfallin created PR review comment:

More specifically, to give some reasoning for this:

So on balance, I think this API cleanup makes sense, but we also don't want to cause arbitrary and unfixable breakage so please do let us know (anyone) if there are compatibility concerns we can try to address some other way.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 22:58):

abrown submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 30 2022 at 22:58):

abrown created PR review comment:

(also, is no one else chuckling about the puns in all these names?!)


Last updated: Oct 23 2024 at 20:03 UTC