wasmer 推出 Wasmer Pack
這是一個與 WebAssembly Package Manager 和 WebAssembly Interfaces("WAI")整合的工具,可以創建可以從其他語言導入的包。
WebAssembly 軟件包管理器的 WAI 附加功能,通過為你選擇的語言自動生成可安裝的軟件包,簡化了開發者在其應用程序中使用 WebAssembly 的方式。
詳情請看:https://wasmer.io/posts/wasmer-takes-webassembly-libraries-manistream-with-wai
WasmEdge增加了Tokio 支持
WasmEdge 成功地移植了 tokio(一個 Rust 異步運行時)到 Wasm:https://github.com/WasmEdge/tokio。其秘訣是使用了自家基于 wasi-socket 開發的 non-blocking socket 和 poll 系統調用,替換掉了 tokio 自己的 non-blocking IO 實現。
代碼實現:https://github.com/tokio-rs/mio/commit/c365b7c15b26bf1b4ee76b88b830fbb5054fd35b#diff-e56b51343750c5afbcc6759883c7834d510abb433f1f3fb404bedad21f24b5d7
Hyper 的 11 月報告
bevy_atmosphere 0.5發布
詳情請看:https://www.reddit.com/r/bevy/comments/za93oo/bevy_atmosphere_05_is_now_released/
Leptos 項目
Leptos 是一個全棧、同構的 Rust Web 框架,利用細粒度的反應性來構建聲明式用戶界面。
使用示例:
use leptos::*; #[component] pub fn SimpleCounter(cx: Scope, initial_value: i32) -> Element { // create a reactive signal with the initial value let (value, set_value) = create_signal(cx, initial_value); // create event handlers for our buttons // note that `value` and `set_value` are `Copy`, so it's super easy to move them into closures let clear = move |_| set_value(0); let decrement = move |_| set_value.update(|value| *value -= 1); let increment = move |_| set_value.update(|value| *value += 1); // this JSX is compiled to an HTML template string for performance view! { cx,
-
Rust
+關注
關注
1文章
230瀏覽量
6664 -
Tokio
+關注
關注
0文章
12瀏覽量
70
原文標題:【Rust日報】2022-12-02 WasmEdge增加了Tokio 支持
文章出處:【微信號:Rust語言中文社區,微信公眾號:Rust語言中文社區】歡迎添加關注!文章轉載請注明出處。
發布評論請先 登錄
相關推薦
評論