Rust is definitely the new hotness amongst developers, having won the stack overflow most loved language year on year. I’ve been keeping an eye on it for a while, especially the web assembly possibilities. While the toolset has been steadily developing, and there are plenty of tutorials showing how to access pure functions defined in Rust from any JavaScript, integrating it at a deeper level with an established web development framework such as React or Vue is less clear.

The Motivation

At Motius, we are given a chance to explore new and emerging technologies. In our recent Motius Discovery camp I decided to try combining Rust web assembly with Vue. The idea is to have the business logic handled by Rust, giving the safety the amazing Rust compiler provides, with the established DOM manipulation of Vue. By using Vue here, we have access to the full ecosystem of styling libraries, something which is at this point still lacking from the pure Rust frameworks out there. I happen to be using Tailwind here, but there are plenty of options.

#vue.js #rust #vue #web assembly #vuejs

Deeply Integrating Rust Wasm and Vue
9.35 GEEK