Skip to content

Question: Is wasm-opt production ready? #2633

Closed
@Robbepop

Description

@Robbepop

This might sound like a super stupid question but I am here to ask if the usage of Binaryen's wasm-opt specifically is production ready?
We have a great deal of motivation to use it to further optimize our Wasm binaries (produced by the Rust compiler mainly) since wasm-opt seems to do a really good job at this. For instance it was capable of reducing the size of an already Rust-optimized Wasm binary from 27kB to roughly 9kB which is nice because it means that we do not have to introduce certain work arounds on the Rust code in order to improve the resulting code quality. However, we are unsure if the optimizations done by wasm-opt are "guaranteed" to not break or slightly change semantics of the optimized code. Of course, this is a declared anti-goal of every optimizer, however, if this is a real constraint for production usage: Would you still recommend Binaryen's wasm-opt for this use-case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions