bevy_wasm icon indicating copy to clipboard operation
bevy_wasm copied to clipboard

Switch to Wasmer?

Open bakcxoj opened this issue 3 years ago • 7 comments

Do some more research on the differences between Wasmer and Wasmtime. They both have pros and cons.

With the intention of bevy_wasm being used on low-end hardware, determine whether or not it should use Wasmer instead of Wasmtime.

Alternatively, give the developer the choice through feature flags.

bakcxoj avatar Jan 03 '23 18:01 bakcxoj

There's an article about the company behind wasmer that might help with the decision: https://mnt.io/2021/10/04/i-leave-wasmer/

anlumo avatar Mar 15 '23 02:03 anlumo

Bummer. Might need to icebox this one for a bit

bakcxoj avatar Mar 19 '23 18:03 bakcxoj

Bummer. Might need to icebox this one for a bit

When it comes to office politics I don't really like to talk about it.. But mean.. it's just the company right?

What about having different runtimes for users to choose?

dayswith avatar Mar 20 '23 10:03 dayswith

Because.. some people might be more comfortable using wasmer than wasmtime, but maybe some will want to use another one.

dayswith avatar Mar 20 '23 10:03 dayswith

@natalia-asteria I only mean to icebox it because its future looks unstable. I will gladly switch to Wasmer as long as it makes sense. There's still the question of whether Wasmer should be used over Wasmtime, regardless of their office politics, such as performance and overhead.

bakcxoj avatar Mar 21 '23 01:03 bakcxoj

I do like giving people the choice of runtime, but that's quite an undertaking for very little gain

bakcxoj avatar Mar 21 '23 01:03 bakcxoj

I personally am looking into using deno_runtime as my wasm runtime, because that should make it easier to also support the Web environment (in theory).

anlumo avatar Mar 21 '23 03:03 anlumo