projectfluent / fluent-rs

Rust implementation of Project Fluent
https://projectfluent.org
Apache License 2.0
1.07k stars 96 forks source link

Webassembly support #151

Closed dimiro1 closed 4 years ago

dimiro1 commented 4 years ago

Is it feasible to compile down this project as a web assembly module to use for example in Go projects using https://github.com/perlin-network/life or https://github.com/wasmerio/go-ext-wasm ?

anlumo commented 4 years ago

We're using it in a wasm project without any changes.

dimiro1 commented 4 years ago

Cool @anlumo did you created the bindings yourself or are you using interface types[1]? Can you share your setup?

[1] https://github.com/WebAssembly/interface-types/blob/master/proposals/interface-types/Explainer.md

zbraniecki commented 4 years ago

I'm going to close it, please, reopen if you have more direct questions or reaquests for the project (also, would love PRs with documentation!)

dakom commented 6 months ago

I see this is a fairly old issue - but I'm curious, roughly how much weight does fluent add (esp relevant for wasm targets)?