Calling WebAssembly-backends from Dash/plotly


I’m relatively new to the plotly/Dash toolchains but am amazed by its functionality and elegance. I’m potentially facing using Dash professionally. Please forgive me if my questions are badly phrased or nonsensical.

I’ve searched a while for articles, tutorials or examples where plotly is used to visualize data obtained from interactively calling WebAssembly-based backends. Is this possible? Are there any examples out there I could look at?


How does the backend expose the data?

At this point, it’s almost entirely up to me. The communication is a bit unclear to me, so I was hoping to learn some preferred way to solve the data transfer part.

Ah, so you are designing from scratch? In that case, it is not clear for me why you would want to use webassembly with Dash in the first place. Could you elaborate on that part?

Thank you for your help! :slight_smile: It’s not exactly from scratch; I’ve already written the computationally intensive algorithms in Rust. I was hoping there to be a way to interact with this library.

Or is that generally a bad idea? Perhaps I should look at alternatives for this project, seems like I’m making a detour.