Stream: general

Topic: Testing Lightbeam Compiler


view this post on Zulip Haoran Xu (Apr 13 2021 at 07:02):

Hello,
I'm wondering if there is any way I could test the lightbeam compiler. I tried to build wasmtime from source with lightbeam enabled with the following command:
cargo build --release --features lightbeam
I then tried to invoke the lightbeam compiler:
./wasmtime --lightbeam ~/coremark-wasi.wasm

However, I get a panic at crates/lightbeam/wasmtime/src/lib.rs:224. It seems like this function is newly added, so I tried to checkout and build a few older versions of wasmtime. But it still doesn't work: I just get panics at different places.

Can anyone offer me help on testing the performance of the Lightbeam compiler? Thanks!

view this post on Zulip Robin Freyler (Apr 18 2021 at 22:27):

From what I know the Lightbeam backend has never made it to a stable state and therefore should be used with caution. Its main author (Vurich) has not contributed for about a year by now so I also would not expect a lot of momentum for it. Technically the backend can be compared with the Wasmer singlepass backend.


Last updated: Dec 23 2024 at 12:05 UTC