BrandonDyer64 / bevy_wasm

Mod Bevy games with WASM
Apache License 2.0
89 stars 3 forks source link

Switch to Wasmer? #6

Open BrandonDyer64 opened 1 year ago

BrandonDyer64 commented 1 year ago

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.

anlumo commented 1 year ago

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

BrandonDyer64 commented 1 year ago

Bummer. Might need to icebox this one for a bit

togetherwithasteria commented 1 year ago

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?

togetherwithasteria commented 1 year ago

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

BrandonDyer64 commented 1 year ago

@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.

BrandonDyer64 commented 1 year ago

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

anlumo commented 1 year ago

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).