应用 waPC (rust) 做软件测试工具waPC? WASM 外部函数 接口 FFI Input type Return type Platform 底层 I32 I32 Unknown waPC &[u8] Result,error > Linux x86_64, macOS x86_64 ,Wi ndows x86_64, … cargo build —target wasm- unknown-unknown Rust • Read wasm file • Select engine • Wazero • Wasmer-go • Wasmertime-go • Define hostcall capability • Instantiate • Invoke - command with data • Guest 指 wasm • Operation 是我们要在 wasm 里注册 命名 • 以数据的长度,设置 以数据的长度,设置 wasm 的 linear memory 的指针 • Guest 可执行任务 • Guest 也可返回请求 host Invoke(ctx,operation,payload) WAPC 流程 • Uses Length of response and error to return result res,err:= Invoke… WAPC 流程 #[no_mangle] 0 码力 | 30 页 | 2.50 MB | 1 年前3
THE FIRST EXPLORATION OF PROJECT SPARROWcoming soon. 2.3 Unified runtime for eBPF and Wasm Summary II. Practicing Sparrow Our previous talks "GraalVM-based unified runtime for eBPF & Wasm" at GOTC 2021 (Shenzhen) & "Revisiting "Revisiting GraalVM-based unified runtime for eBPF & Wasm" at OpenInfra Days China 2021(Beijing), and the third-round discussion of this topic will come in this year, which includes Development build the Renode Rust UART peripheral example: cargo build --target wasm32-unknown-unknown --release --lib III. Sparrow Development on branch "26999-rust_uart":0 码力 | 68 页 | 13.14 MB | 1 年前3
Learning by Contributing to Rust Compiler - 陈于康2014 ~ 2018 Some small projects • 2020 ~ 2021 More open-source projects, gomoku, youki, dapr-wasm • 2022 ~ Regular contributions to Rust My Rust experience • A real case Remove duplicated diagnostics0 码力 | 23 页 | 3.28 MB | 1 年前3
夏歌-使用Rust构建LLM应用架,让开发者能够使用简单的 Rust 写 应用 如何用 Rust 实现的 构建和部署 AI 相关工作流的 serverless 平台 • 上传 Rust function ,平台负责将 Rust 编译成 Wasm ,并运行在 WasmEdge 安全容 器中 • 平台封装了一些常用 LLM 和 SaaS 的 API ,并发布成了 crate ,比如 ChatGPT 、 telegram 、 GitHub0 码力 | 36 页 | 38.31 MB | 1 年前3
共 4 条
- 1













