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:

Leveraging React Server Components In Redwoodjs

Leveraging React Server Components in RedwoodJS

RedwoodJS announced support for server-side rendering and RSCs in its Bighorn release. Explore this feature for when it’s production-ready.

Stephan Miller
May 6, 2024 â‹… 9 min read
Exploring The Aha Stack: Astro, Htmx, Alpine — A Complete Tutorial With A Demo Project And Comparison To Other Stacks

Exploring the AHA stack: Tutorial, demo, and comparison

The AHA stack — Astro, htmx, and Alpine — is a solid web development stack for smaller apps that emphasize frontend speed and SEO.

Oyinkansola Awosan
May 3, 2024 â‹… 13 min read
Comparing Hattip Vs Express Js For Modern Application Development

Comparing Hattip vs. Express.js for modern app development

Explore what Hattip is, how it works, its benefits and key features, and the differences between Hattip and Express.js.

Antonello Zanini
May 2, 2024 â‹… 8 min read
Using React Shepherd To Build A Site Tour

Using React Shepherd to build a site tour

React Shepherd stands out as a site tour library due to its elegant UI and out-of-the-box, easy-to-use React Context implementation.

Onuorah Bonaventure
May 1, 2024 â‹… 14 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