Stream: general

Topic: pre-compiling to static binaries


view this post on Zulip Yoshua Wuyts (Jul 01 2024 at 13:45):

Hey, I was wondering: does Wasmtime still have a mode where it takes a Wasm executable and it generates a native binary? I remember that used to be a thing a few years ago (terrarium?), but I'm not sure if that still lives on somehow?

view this post on Zulip Joel Dice (Jul 01 2024 at 14:16):

There's wasmtime compile, but that generates a .cwasm file, which only Wasmtime knows how to run. I believe @Dan Gohman and others discussed extending that to produce e.g. standalone ELF binaries at some point, but I'm not aware of anything beyond brainstorming.

view this post on Zulip Yoshua Wuyts (Jul 01 2024 at 15:18):

I see, that's really helpful - thank you!


Last updated: Nov 22 2024 at 16:03 UTC