AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Concurrency Model Difference in WebAssembly Performance
The current state of WebAssembly is that the, and my knowledge might be out of it here, but there's also a proposal for multi-threading support that hasn't quite landed yet. So we ended up solving this in the SDK by basically creating multiple instances of the WebAssembly module and then just kind of like shuffling between them. And essentially every time the SDK is asked to get a variable value, it's just borrowing one of these WebAssembly modules from this pool,. doing its thing and then returning it back to the pool.