intro-to-wasm-in-rust:“Rust 中的 WASM 简介”演讲中的示例

时间:2021-08-04 01:53:02
【文件属性】:
文件名称:intro-to-wasm-in-rust:“Rust 中的 WASM 简介”演讲中的示例
文件大小:29KB
文件格式:ZIP
更新时间:2021-08-04 01:53:02
HTML Rust 中的 WebAssembly 简介 我在 14/08/2019 的 Rust 墨尔本聚会上的演讲中展示的例子。 该录音可在上。 安装 安装。 brew install wabt 使用安装 Rust。 添加wasm32-unknown-unknown目标。 rustup target add wasm32-unknown-unknown 安装 。 cargo install wasm-pack 构建所有示例。 ./build.sh 启动一个像这样支持application/wasm MIME 类型的。 npm install -g es-dev-server es-dev-server 在浏览器中查看示例。 执照 获得许可 Apache 许可证,版本 2.0( 或 ) MIT 许可证( 或 ) 在您的选择。 贡献 除非您另有明确说明,否则根据 Apache
【文件预览】:
intro-to-wasm-in-rust-main
----6-dom()
--------Cargo.lock(16KB)
--------index.html(198B)
--------src()
--------Cargo.toml(827B)
--------main.js(42B)
--------build.sh(47B)
----LICENSE_MIT(1KB)
----1-add()
--------add.wat(106B)
--------index.html(227B)
--------main.js(296B)
--------build.sh(47B)
----Cargo.lock(17KB)
----index.html(3KB)
----4-hello-world()
--------Cargo.lock(5KB)
--------index.html(214B)
--------src()
--------Cargo.toml(189B)
--------main.js(126B)
--------build.sh(47B)
----LICENSE_APACHE(11KB)
----Cargo.toml(162B)
----5-memory()
--------Cargo.lock(16KB)
--------index.html(233B)
--------src()
--------Cargo.toml(184B)
--------main.js(543B)
--------build.sh(47B)
----.gitignore(50B)
----README.md(1KB)
----build.sh(234B)
----2-add-and-log()
--------index.html(243B)
--------add_and_log.wat(164B)
--------main.js(368B)
--------build.sh(63B)
----3-add-rust()
--------Cargo.lock(140B)
--------index.html(237B)
--------src()
--------Cargo.toml(162B)
--------main.js(258B)
--------build.sh(72B)

网友评论