This might have an obvious answer for the more experienced here, but (potentially stupid question) why didn't you use dart for this?
Nothing against rust, just interested is all considering the dart/flutter relationship.
Nothing against rust, just interested is all considering the dart/flutter relationship.
With the web support I was hoping the since dart can be transpiled to JS Flutter might do something similar. I'll have to look into this, I'm learning Dart due to its ability to run on most platforms.
Performance is pretty good, but as with JavaScript performance, there are performance cliffs depending on how well V8, SpiderMonkey, or JavaScriptCore is able to optimize the code. An audio worklet is pretty standalone and compute intensive, so it seems like a good place to use WebAssembly.