Abstract
Starting from a spellchecking problem we want to showcase the process to reorganize, compile, deploy and use a Rust library from JS using wasm and the ecosystem that the community has produced. Deepening three crucial phases: development, profiling and optimization and integration into Js project.
With this talk we want to tell the process necessary to reorganize, compile, deploy and use a simple Rust library using the `wasm` target and the ecosystem that the Rust community has produced over the years. We'll follow the steps we have taken moving a spelling correction feature client-side with Rust and WebAssembly. In particular by deepening three crucial phases:
- development of a library with WebAssembly constraints while maintaining compatibility with other targets;
- profiling and optimization
- integration into a large Javascript project.