2022-06-24
5643
#rust#svelte#webassembly
Yashodhan Joshi
120913
Jun 24, 2022 â‹… 20 min read

Integrating a Svelte app with Rust using WebAssembly

Yashodhan Joshi I am a student interested in physics and systems programming currently exploring Rust and operating systems. I am also passionate about helping others learn.

Recent posts:

A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 â‹… 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 â‹… 7 min read
typescript object destructuring

TypeScript object destructuring and you

Whether you’re part of the typed club or not, one function within TypeScript that can make life a lot easier is object destructuring.

Lewis Cianci
Jan 22, 2025 â‹… 5 min read
Using Firebase For ASP.NET Authentication

Using Firebase for ASP.NET authentication

Firebase is one of the most popular authentication providers available today. Meanwhile, .NET stands out as a good choice for […]

Lewis Cianci
Jan 21, 2025 â‹… 9 min read
View all posts

4 Replies to "Integrating a Svelte app with Rust using WebAssembly"

  1. Hey, As far as I have tried, it doesn’t work out of the box. The plugin is designed for rollup, and sveltekit uses vite, so there are some internal issues of configuration. As sveltekit is still pre-1.0 at the time of writing, there can be ongoing changes that can break the “hacks” that might be done to make the plugin work, so I haven’t tried those either. In short, the particular plugin approach shown will not work with sveltekit directly, at at least at the time of writing. Hope this helps!

Leave a Reply