--- robots: noindex, nofollow --- # Rust WebAssembly ## WebAssembly WebAssembly = asm.js 做得對 二進制可執行文件格式的網頁 新網絡標準,多廠商合作 https://kripken.github.io/talks/wasm.html # Rust WebAssembly https://rustwasm.github.io/ https://github.com/webassembly/wasi https://webassembly.org/ ## wasm32-unknown-unknown ## wasm32-unknown-emscripten 有一個比喻,瀏覽器比電腦硬件,emscripten比作業系統, https://blog.therocode.net/2020/10/a-guide-to-rust-sdl2-emscripten ## wasm32-wasi(WebAssembly System Interface) 目前算是一個新的不穩定的一個項目,它的作用在於將目標編譯成,CG軟件,運行在支援WebAssembly WASI(如 wasmtime) 上的。 https://wasi.dev/ wasmer https://docs.wasmer.io/ wasmtime https://wasmtime.dev/ https://docs.wasmtime.dev/ 等等 # 強大的交互方法 wasm-bindgen https://rustwasm.github.io/docs/wasm-bindgen/introduction.html web_sys wasm-pack yew https://yew.rs/zh-TW/ # 其他資源 https://github.com/second-state/rustwasmc # 有趣的博客 https://www.secondstate.io/articles/getting-started-with-rust-function/ https://github.com/jedisct1/webassembly-benchmarks/tree/master/2021-Q1 https://www.qt.io/qt-examples-for-webassembly https://developer.ibm.com/articles/why-webassembly-and-rust-together-improve-nodejs-performance/
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up