Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Any thin wrapper around the Web Worker API?

Дата публикации: 07-10-2026 15:33:43


Hi, I'm currently writing some audio decoding pipeline targeting wasm32-unknown-unknown.
In the queue / jittering part, I wanna be able to have one task that pushes data as it comes (with all the network uncertainties), and another parallel task that reads data from this buffer. On a native platform, a naive solution would be to use tokio tasks with a mutex around the buffer. Obviously this is not possible in WASM as-is.
Is there any crate that interfaces with the Web Workers API? The most idiomatic (as in matching the API as opposed to match tokio style) the better.
Thanks!
1 post - 1 participant
Read full topic

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Are there wait-free priority queue crates?016.0905-10-2026
2Architecture review of a Hyper/Tower-based web framework (Toxi)015.4606-10-2026
3Feedback wanted: compio-pool, a thread-per-core connection pool for !Send connections017.8908-10-2026
4I built a library for automatic callback encoding/decoding for Teloxide08.2405-10-2026
5Rust abstractions for kernel sources04.6208-10-2026
6What's everyone working on this week (41/2026)?020.3406-10-2026
7Why no Dependent Matrix Type?05.1608-10-2026
8Announcing Topcoat: a framework for building full-stack reactive web apps with Rust018.3322-07-2026
9Toasty, an async ORM for Rust, is now on crates.io01003-04-2026
10Why is f32/f64::sqrt not const?022.7206-10-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 6.59. Источник: users.rust-lang.org.