Using Rust from JS: a real-life case

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.

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.

Video

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2024 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS