<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wasm on PlumePHP</title><link>https://plumephp.com/categories/wasm/</link><description>Recent content in Wasm on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 03 Oct 2026 15:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/categories/wasm/index.xml" rel="self" type="application/rss+xml"/><item><title>WASM 模块测试与模糊测试：从单元测试到差分验证</title><link>https://plumephp.com/wasm-testing-fuzzing/</link><pubDate>Sat, 03 Oct 2026 15:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-testing-fuzzing/</guid><description>系统讲解 WASM 模块的测试体系：wasm-bindgen-test 与 headless 浏览器测试、wasmtime 宿主侧单元测试、接口契约与黄金数据、wasm-smith 模糊测试与差分测试、覆盖率采集、CI 集成与性能回归，并给出可复用的测试分层策略与落地清单。</description></item><item><title>浏览器扩展中的 WASM：MV3 约束、CSP 与生命周期实践</title><link>https://plumephp.com/wasm-browser-extension/</link><pubDate>Sat, 03 Oct 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-browser-extension/</guid><description>系统讲解在浏览器扩展中落地 WASM 的工程细节：Manifest V3 架构与 CSP 的 wasm-unsafe-eval 约束、service worker 的冷启动与 WASM 生命周期、打包与 manifest 配置、消息传递与类型、内容脚本与页面注入、性能与内存限制，以及 Chrome、Firefox、Safari 的差异与调试发布。</description></item><item><title>WASM 流式编译与实例化优化：从首字节到可执行</title><link>https://plumephp.com/wasm-streaming-compilation-instantiation/</link><pubDate>Sat, 03 Oct 2026 13:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-streaming-compilation-instantiation/</guid><description>系统讲解 WASM 的编译与实例化优化：instantiateStreaming 与编译流水线、编译缓存 CompilationCache 与 AOT 预编译产物、分层编译与 lazy tiering、体积与编译时间的权衡、CDN 分块加载，以及从首字节到可执行的完整度量方法与常见陷阱。</description></item><item><title>Node.js 中嵌入 WASM：原生 API、WASI 与实例池实践</title><link>https://plumephp.com/wasm-nodejs-server-embedding/</link><pubDate>Sat, 03 Oct 2026 12:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-nodejs-server-embedding/</guid><description>系统讲解在 Node.js 服务端嵌入 WASM 的工程实践：原生 WebAssembly API 与 WASI 接口、模块实例化与实例池设计、host 函数与线性内存读写、异步与 Worker 线程隔离、插件式扩展架构、启动开销与编译缓存、安全边界与资源限制，以及可观测性与故障处理。</description></item><item><title>浏览器内数据分析：DuckDB-WASM 与 Apache Arrow 零拷贝实践</title><link>https://plumephp.com/wasm-data-processing-arrow/</link><pubDate>Sat, 03 Oct 2026 11:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-data-processing-arrow/</guid><description>系统讲解浏览器内数据分析的完整链路：DuckDB-WASM 架构与执行模型、Apache Arrow 列式内存格式与零拷贝、Parquet 与 CSV 读取、Web Worker 并行与 OPFS 持久化、查询结果回传 JS 的边界成本、内存上限与分块策略，以及它与后端查询引擎的取舍。</description></item><item><title>Rust 前端框架深度对比：Leptos、Yew 与 Dioxus 的 WASM 架构</title><link>https://plumephp.com/wasm-web-frameworks-rust/</link><pubDate>Sat, 03 Oct 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-web-frameworks-rust/</guid><description>系统对比 Rust 前端三大框架 Leptos、Yew 与 Dioxus 的 WASM 架构：信号与响应式模型、虚拟 DOM 与细粒度更新、CSR 与 SSR/hydration、路由与组件模型、wasm-bindgen 与 DOM 交互开销、产物体积与首屏优化、与 JS 框架互操作，以及生产环境下的选型取舍。</description></item><item><title>WASM 线性内存管理实践：分配器、增长、泄漏与池化</title><link>https://plumephp.com/wasm-memory-management-patterns/</link><pubDate>Fri, 02 Oct 2026 15:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-memory-management-patterns/</guid><description>系统讲解 WASM 线性内存的管理实践：页与内存增长的真实代价、内存布局、分配器选型与自研取舍、碎片与对齐、内存泄漏的常见模式与排查方法、对象池与复用设计、零拷贝与视图失效陷阱、跨语言内存共享的所有权约定、内存上限与 OOM 优雅降级，以及性能测量与调优清单。</description></item><item><title>WASM 可观测性：指标、追踪、日志与运行时监控</title><link>https://plumephp.com/wasm-observability-metrics/</link><pubDate>Fri, 02 Oct 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-observability-metrics/</guid><description>系统讲解 WASM 的可观测性建设：为什么 WASM 的可观测性比常规服务更难、运行时指标采集、手动与自动插桩、分布式追踪的上下文传递与 span 边界、结构化日志、性能剖析与火焰图、内存与资源监控、告警与 trap 分析，以及多租户观测隔离与生产落地清单。</description></item><item><title>用 WASM 设计插件系统：宿主 ABI、版本兼容与热加载</title><link>https://plumephp.com/wasm-plugin-system-design/</link><pubDate>Fri, 02 Oct 2026 13:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-plugin-system-design/</guid><description>系统讲解如何用 WebAssembly 设计生产级插件系统：宿主与插件的 ABI 设计、内存所有权约定、接口版本协商与兼容策略、资源限制与燃料计量、热加载与状态迁移、插件间隔离通信、能力授权、可观测性与故障隔离，并给出典型实现对比与落地路线图。</description></item><item><title>WASM 工具链与自定义段：wasm-tools、WAT 与二进制裁剪</title><link>https://plumephp.com/wasm-toolchain-custom-sections/</link><pubDate>Fri, 02 Oct 2026 12:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-toolchain-custom-sections/</guid><description>系统讲解 WASM 工具链与二进制加工：wasm-tools 子命令全景、WAT 文本格式与往返转换、自定义段与 name/producers 段、wasm-opt 优化流水线、WABT 工具集、模块拆分与链接、二进制瘦身与裁剪，以及元数据、版本兼容与构建流水线集成。</description></item><item><title>AssemblyScript 开发实践：类 TypeScript 的 WASM 语言</title><link>https://plumephp.com/wasm-assemblyscript-development/</link><pubDate>Fri, 02 Oct 2026 11:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-assemblyscript-development/</guid><description>系统讲解 AssemblyScript 的定位与工程实践：与 TypeScript 的语法异同、数值类型与类型系统、托管对象与 GC 策略、内存管理模型、导出函数与宿主绑定、字符串与数组处理、性能优化技巧，以及调试测试与生产工程化落地。</description></item><item><title>C/C++ 编译到 WebAssembly：Emscripten 实战指南</title><link>https://plumephp.com/wasm-cpp-emscripten-guide/</link><pubDate>Fri, 02 Oct 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-cpp-emscripten-guide/</guid><description>系统讲解如何用 Emscripten 把 C/C++ 代码编译到 WebAssembly：emcc 选项体系、虚拟文件系统与资源打包、线性内存与内存增长代价、embind 类型绑定、JS 回调与 Asyncify、pthread 多线程、体积与性能优化，以及调试手段与生产构建集成。</description></item><item><title>WASM 构建与打包工具链：wasm-bindgen、wasm-pack 与前端集成</title><link>https://plumephp.com/wasm-bundler-build-toolchain/</link><pubDate>Wed, 30 Sep 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-bundler-build-toolchain/</guid><description>详解 WASM 构建与打包工具链：wasm-bindgen 的胶水原理、wasm-pack 从 Rust 到 npm 的工作流、vite/esbuild 插件集成、Tree-shaking 与按需加载、wasm-opt 体积优化、发布到 npm 与 CDN 以及 CI 版本兼容的工程化实践。</description></item><item><title>WASM 媒体处理：音视频编解码、转码与滤镜</title><link>https://plumephp.com/wasm-media-processing-codecs/</link><pubDate>Wed, 30 Sep 2026 13:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-media-processing-codecs/</guid><description>详解 WASM 媒体处理：为什么在浏览器做媒体处理、ffmpeg.wasm 把 FFmpeg 搬进浏览器、WebCodecs 原生编解码与 WASM 对比、转码与缩略图实战、滤镜与逐帧处理、多线程与内存陷阱、大文件流式处理、WebGPU 加速以及 CDN 边缘媒体处理。</description></item><item><title>WASM 密码学：WebCrypto、WASM 密码库与安全计算</title><link>https://plumephp.com/wasm-crypto-webcrypto/</link><pubDate>Wed, 30 Sep 2026 12:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-crypto-webcrypto/</guid><description>详解 WASM 密码学：WebCrypto API 的边界与限制、何时需要 WASM 密码库、libsodium 与 OpenSSL 编译到 WASM、constant-time 与侧信道防护、密钥管理与安全存储、MPC/零知识证明在 WASM、与 native crypto 的性能对比及浏览器密码学实战。</description></item><item><title>WASM 数据库与持久化：SQLite、OPFS 与本地存储</title><link>https://plumephp.com/wasm-sqlite-database-storage/</link><pubDate>Wed, 30 Sep 2026 11:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-sqlite-database-storage/</guid><description>详解 WASM 数据库与持久化：为什么 SQLite 是浏览器数据库首选、sql.js/wa-sqlite/libsql 三库对比、把 SQLite 编成 WASM 的编译选项、OPFS/IndexedDB/私有文件系统三大持久化方案、OPFS 同步访问与导入导出、WASI 下的服务端持久化、离线同步策略与性能基准。</description></item><item><title>WASM 语言运行时：在浏览器跑 Python、Ruby 与其他语言</title><link>https://plumephp.com/wasm-language-runtimes-browser/</link><pubDate>Wed, 30 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-language-runtimes-browser/</guid><description>详解浏览器语言运行时生态：Pyodide 的 Python 全栈、Ruby WASI、QuickJS 微型 JS 引擎、Wasmtime 嵌入自建运行时、跨语言调用与对象桥接、解释器进 WASM 的性能与体积代价，以及教学/沙箱/客户端计算三大场景和运行时选型矩阵。</description></item><item><title>WASM 容器运行时与 Kubernetes：runwasi、containerd 与微服务落地</title><link>https://plumephp.com/wasm-container-runtimes-k8s/</link><pubDate>Wed, 30 Sep 2026 09:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-container-runtimes-k8s/</guid><description>详解 WASM 容器运行时：为什么让 WASM 跑进容器、runwasi 与 containerd shim 原理、Kubernetes RuntimeClass 调度 WASM 工作负载、WasmEdge/Wasmer/Spin shims 对比、与普通容器的启动/密度/安全对比、多租户隔离以及从 sidecar 到全 WASM 的落地路线。</description></item><item><title>WASM 宿主嵌入 API：在 Rust/C/Go/Python 中跑 WASM 模块</title><link>https://plumephp.com/wasm-embedding-hosting-apis/</link><pubDate>Mon, 28 Sep 2026 15:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-embedding-hosting-apis/</guid><description>系统覆盖把 WebAssembly 运行时嵌入宿主应用的实践：嵌入（embedding）是什么、为什么服务器/桌面/移动应用需要嵌入 WASM、Rust 生态的官方嵌入 API（wasmtime crate：Engine/Store/Module/Instance/Config）、C 稳定 ABI（wasmtime-c-api 与 wasm_c_api_t）、Go 与 Python 的绑定（wasmtime-go/wasmer-python）、host 函数（自定义 imports）如何让 WASM 调用宿主能力、线性内存访问与数据传递模式、多语言绑定底层都是 C ABI 的原理、Wasmtime/Wasmer 嵌入 API 的差异对比、以及进程内嵌入 vs 进程外隔离的工程取舍，帮助读者在任何语言里安全、高效地嵌入 WASM 作为「可插拔执行沙箱」。</description></item><item><title>WASM 异常处理与栈切换提案：try_table、suspend/resume 与异步运行时</title><link>https://plumephp.com/wasm-exceptions-stack-switching/</link><pubDate>Mon, 28 Sep 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-exceptions-stack-switching/</guid><description>系统覆盖 WebAssembly 的异常（Exceptions）与栈切换（Stack Switching）两大提案：WASM 为什么一直没有原生异常、传统返回码方案的局限、Exceptions 提案的核心（throw 标签、br_on_exn、try_table、跨宿主异常分派）、Rust panic/C++ throw 如何在 WASM 落地、栈切换提案的 suspend/resume 模型（挂起整条调用栈、恢复点、栈迁移与成本）、与事件循环/协程的关系、JS Promise Integration（JSPI）如何统一同步 WASM 与异步 JS、以及 async 运行时、生成器/迭代器、协作式多任务等典型应用，帮助读者理解 WASM 控制流的两大最新基础设施。</description></item><item><title>WASI 文件系统与沙箱：preopened 目录、能力模型与路径逃逸防护</title><link>https://plumephp.com/wasm-wasi-filesystem-sandbox/</link><pubDate>Mon, 28 Sep 2026 13:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-wasi-filesystem-sandbox/</guid><description>系统覆盖 WASI（WebAssembly System Interface）文件系统的安全模型：能力（capability）授权的设计哲学（默认无权限、显式授予）、preopened directories 如何把宿主目录暴露给 WASM 模块（wasmtime --dir / WasiCtx preopen）、fd 文件描述符模型与 path_open 的能力链、权限标志（read/write/append/create/truncate/directory）、基于能力的路径解析（禁止绝对路径/.. 逃逸、符号链接防护）、虚拟根文件系统的映射、与操作系统沙箱（chroot/容器）的对比、多租户隔离下的文件沙箱实践，以及路径逃逸与权限配置的常见陷阱和排查方法，帮助读者把 WASI 沙箱从「听说过」变成「能正确配置」。</description></item><item><title>Rust 编译到 WASM 的进阶优化：wasm-bindgen、体积控制与异步</title><link>https://plumephp.com/wasm-rust-compilation-optimization/</link><pubDate>Mon, 28 Sep 2026 12:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-rust-compilation-optimization/</guid><description>系统覆盖 Rust 编译到 WebAssembly 的进阶优化实践：wasm-bindgen 的深入机制（glue code、#[wasm_bindgen] 属性、复杂类型传递的转换成本）、release profile 与链接优化（opt-level/lto/panic=abort/strip）、二进制体积控制（wasm-opt 后处理、--dce、twiggy 分析、依赖与 feature 精简）、无栈协程与异步桥接（Rust futures 与 wasm-bindgen-futures、栈切换提案带来的改善）、运行性能优化（SIMD、避免无谓分配、线性内存布局）、字符串与 FFI 边界的常见性能陷阱，以及调试与体积剖析工具链（wasm-pack debug/wasm-opt/twiggy），帮助开发者把 Rust→WASM 产物做到「又小又快又稳」。</description></item><item><title>Wasmtime 运行时深入：Cranelift、JIT/AOT 与资源管控</title><link>https://plumephp.com/wasm-wasmtime-runtime/</link><pubDate>Mon, 28 Sep 2026 11:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-wasmtime-runtime/</guid><description>系统覆盖 Wasmtime——Mozilla 主导的 WebAssembly 运行时（WASI 参考实现）的引擎内部：Wasmtime 的定位与架构分层、Cranelift 编译器后端（从 WASM 到机器码的 SSA/优化/可移植后端）、JIT 与 AOT 两种执行路径（wasmtime compile 与产物缓存）、模块实例化的完整流程（store/store context/instance）、epoch interruption 基于周期中断的抢占与超时、资源限制与 fuel 计量（内存/指令/时间上限）、编译缓存与并行编译、WASI Preview1/Preview2 的接入方式，以及作为宿主库的嵌入形态（Rust/C API 与多语言绑定），帮助读者理解服务器端 WASM 运行时的核心机制与调优入口。</description></item><item><title>WASM 上的 AI 推理：ONNX Runtime Web、WASI-NN 与边缘模型部署</title><link>https://plumephp.com/wasm-ai-inference-browser/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-ai-inference-browser/</guid><description>系统覆盖 WASM 上的 AI 推理落地：为什么用 WASM 跑模型、ONNX Runtime Web 架构（WASM/SIMD/WebGPU 三后端）、模型转换与量化（onnx/quantize）、WASI-NN 提案与 serverless 推理、边缘推理部署（Cloudflare Workers）、浏览器端实时应用（图像分类/目标检测/语音）、性能基准与选型矩阵。</description></item><item><title>WASM 安全模型与沙箱：内存隔离、能力授权与运行时加固</title><link>https://plumephp.com/wasm-security-sandbox/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-security-sandbox/</guid><description>系统剖析 WebAssembly 安全模型：沙箱如何成立、线性内存边界与空指针/越界防护、能力模型与 WASI 权限授权、沙箱逃逸攻击面、供应链代码来源验证、Wasmtime/Wasmer/边缘运行时加固、多租户隔离策略，以及与容器/V8 isolate 的沙箱对比，最后给出生产环境的 WASM 安全配置清单。</description></item><item><title>WASM 嵌入式与物联网：WAMR 运行时、资源约束与设备部署</title><link>https://plumephp.com/wasm-embedded-iot/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-embedded-iot/</guid><description>系统覆盖 WASM 在嵌入式与物联网的落地：为什么 IoT 需要 WASM、WAMR 微运行时（interpreter/AOT/JIT 三模式）、资源约束（内存/CPU/功耗）下的优化、设备端 OTA 更新、安全与隔离、主流 RTOS 集成（Zephyr/NuttX/FreeRTOS）、设备端推理与传感器处理，以及嵌入式 WASM 的工程实践与选型。</description></item><item><title>WASM 智能合约：区块链执行环境、确定性运行与合约开发</title><link>https://plumephp.com/wasm-blockchain-contracts/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-blockchain-contracts/</guid><description>系统覆盖 WASM 作为智能合约执行环境的落地：为什么区块链选 WASM（可移植/可验证/多语言）、WASM 合约的执行模型（确定性/gas/无副作用）、主流平台（Cosmos SDK/Polkadot-ink!/EOS/NEAR）、Rust 合约开发、AOT 验证与轻节点验证、跨链互操作，以及合约安全的工程实践。</description></item><item><title>WASM 游戏与 WebGPU：高性能浏览器图形渲染与游戏引擎</title><link>https://plumephp.com/wasm-game-webgpu/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-game-webgpu/</guid><description>系统覆盖 WASM 在高性能浏览器游戏的落地：为什么游戏需要 WASM + WebGPU、Emscripten/emscripten 工具链编译 C++ 游戏、WebGPU 渲染管线（着色器/缓冲区/纹理）、WASM 与渲染的数据桥（共享内存/零拷贝）、wasm-bindgen + wgpu 的 Rust 方案、游戏循环与帧同步、加载优化与资产管道，以及性能基准与工具链对比。</description></item><item><title>WASM 调试与性能剖析：源码映射、断点调试与火焰图分析</title><link>https://plumephp.com/wasm-debugging-profiling-tools/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-debugging-profiling-tools/</guid><description>系统覆盖 WASM 调试与性能剖析全链路：WASM 调试原理（DWARF 与源码映射）、浏览器 DevTools 断点调试、Rust/C++ 调试配置（wasm-pack/Emscripten）、日志与运行时钩子、wasm-tools/wasmtime 命令行诊断、性能剖析（CPU/火焰图/分配）、边缘函数与多线程调试，以及调试与剖析的工程实践清单。</description></item><item><title>WasmGC 提案与托管语言：Java/C#/Kotlin 原生编译到 WASM</title><link>https://plumephp.com/wasm-garbage-collection/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-garbage-collection/</guid><description>系统覆盖 WebAssembly 的 GC 提案（WasmGC）：为什么托管语言编译到 WASM 需要 GC、引用类型与结构类型的核心概念（i31ref、struct/array ref、func ref）、GC 指令集与分配语义（struct.new/array.get/ref.cast）、与线性内存的对比（GC 堆 vs 手动管理）、宿主运行时的 GC 集成、各语言的编译路径（JVM/.NET/Kotlin Native/Dart/Swift）、提案状态与支持矩阵（V8/Spidermonkey/Wasmtime/Wasmer）、性能开销与优化方向，以及 GC 与尾调用/栈切换/组件模型的关联，帮助读者理解托管语言如何真正登上 WASM 平台。</description></item><item><title>WASM 边缘计算与 CDN 落地实践</title><link>https://plumephp.com/wasm-edge-computing-cdn/</link><pubDate>Sat, 26 Sep 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-edge-computing-cdn/</guid><description>详解 WASM 在边缘计算与 CDN 的落地：Cloudflare Workers / Fastly Compute 如何运行 WASM、边缘推理（WASI-NN / ONNX Runtime Web）、wasmCloud 与边缘容器的架构对比与选型。</description></item><item><title>WASM SIMD 高性能计算实战</title><link>https://plumephp.com/wasm-simd-high-performance/</link><pubDate>Sat, 26 Sep 2026 13:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-simd-high-performance/</guid><description>详解 WASM SIMD 提案：v128 向量类型与操作分类、Rust std::simd 与 C intrinsics 两种向量化写法、图像/音频/加密/矩阵四类案例，以及与标量版本的基准对比数据。</description></item><item><title>WASM 多线程与 SharedArrayBuffer</title><link>https://plumephp.com/wasm-multithreading-sharedarraybuffer/</link><pubDate>Sat, 26 Sep 2026 12:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-multithreading-sharedarraybuffer/</guid><description>详解 WebAssembly Threads 提案：共享内存与 SharedArrayBuffer、Atomics 原子指令、跨源隔离（COOP/COEP）、Rust std::thread 与 worker 线程池、自旋锁与 wait/notify 同步原语。</description></item><item><title>WASI Preview 2 与 wasi-http：标准化的网络接口</title><link>https://plumephp.com/wasm-wasi-preview2-http/</link><pubDate>Sat, 26 Sep 2026 11:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-wasi-preview2-http/</guid><description>详解 WASI 标准演进：Preview1→Preview2→Preview3，Preview2 的 sockets/clocks/filesystem 接口，wasi-http 的 incoming-handler 模型与无服务器落地，以及 Wasmtime/Wasmer 运行时对 wasi-http 的支持对比。</description></item><item><title>WASM 组件模型与 WIT 接口类型</title><link>https://plumephp.com/wasm-component-model-wit/</link><pubDate>Sat, 26 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-component-model-wit/</guid><description>讲解 WASM Component Model 演进与 WIT 接口定义语言：组件化模块组合、跨语言（Rust/JS/Go）互操作、wasm-tools/jco/cargo-component 工具链，以及如何把多个语言实现的组件打包成可复用单元。</description></item><item><title>WASM 二进制格式与内存模型深度剖析</title><link>https://plumephp.com/wasm-binary-format-memory-model/</link><pubDate>Sat, 26 Sep 2026 09:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-binary-format-memory-model/</guid><description>深入 WASM 二进制文件内部：Section 结构（type/import/function/memory/export）、LEB128 变长整数编码、指令字节码、线性内存与 Memory Growth、Table 间接调用机制，从字节层面彻底理解 WebAssembly。</description></item><item><title>WebAssembly 与 JavaScript 深度互操作</title><link>https://plumephp.com/wasm-javascript-interop/</link><pubDate>Tue, 22 Sep 2026 15:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-javascript-interop/</guid><description>深入 WASM 与 JavaScript 的互操作机制：JS API 详解、线性内存共享、复杂数据结构传递、异步调用模式、DOM 操作策略。从理论到实战，打通 JS 与 Rust/C++ WASM 模块的数据通道。</description></item><item><title>WebAssembly 微服务与边缘计算实践</title><link>https://plumephp.com/wasm-microservices-edge/</link><pubDate>Tue, 22 Sep 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-microservices-edge/</guid><description>在边缘节点和 FaaS 平台运行 WebAssembly：WasmEdge 实战、Kubernetes 集成、冷启动优势、与传统容器的对比。涵盖真实场景：边缘 AI 推理、API Gateway、边缘函数。</description></item><item><title>WebAssembly 性能优化实战</title><link>https://plumephp.com/wasm-performance-optimization/</link><pubDate>Tue, 22 Sep 2026 13:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-performance-optimization/</guid><description>WebAssembly 性能优化全攻略：二进制体积压缩、SIMD 向量化、多线程共享内存、编译缓存策略，以及 AOT/JIT 运行时选型。从浏览器到服务器，榨干 WASM 的每一分性能。</description></item><item><title>WASI 运行时与服务器端 WebAssembly</title><link>https://plumephp.com/wasm-wasi-runtime-cloud/</link><pubDate>Tue, 22 Sep 2026 12:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-wasi-runtime-cloud/</guid><description>深入讲解 WASI 标准：WASM 从浏览器走向服务器的关键一步。对比主流运行时 Wasmtime/Wasmer/WasmEdge，实战文件系统、网络、时钟等系统接口调用，以及 WASM 微服务的安全模型与部署策略。</description></item><item><title>Rust 编译到 WebAssembly 完全指南</title><link>https://plumephp.com/wasm-rust-compilation-guide/</link><pubDate>Tue, 22 Sep 2026 11:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-rust-compilation-guide/</guid><description>从 wasm-pack 安装到 React/Vue 集成，完整讲解 Rust 编译 WebAssembly 的全流程：项目初始化、JS 互操作、调试测试、体积优化与常见问题排查。</description></item><item><title>WebAssembly 基础概念与编解码原理</title><link>https://plumephp.com/wasm-introduction-architecture/</link><pubDate>Tue, 22 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/wasm-introduction-architecture/</guid><description>深入解析 WebAssembly 的诞生背景、模块二进制格式、线性内存模型、沙箱安全机制与编译流程，理解为什么 WASM 被称为 Web 性能的终极解决方案。</description></item><item><title>WebAssembly 专题：从浏览器高性能到云原生边缘计算</title><link>https://plumephp.com/posts/wasm/</link><pubDate>Thu, 10 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/posts/wasm/</guid><description>WebAssembly（WASM）是一种可移植的二进制指令格式，让 C/C++/Rust 等语言代码以接近原生速度在浏览器、服务端和边缘设备运行。本专题系统覆盖 WASM 核心架构与编解码原理、二进制格式与内存模型、从 Rust 编译到 JS 互操作的完整工具链、WASI 标准与 wasi-http、多线程（SharedArrayBuffer）与 SIMD 高性能计算、组件模型与 WIT 接口、边缘计算与 CDN 落地（Cloudflare Workers/Fastly）、安全模型与沙箱（内存隔离/WASI 能力/运行时加固）、AI 推理（ONNX Runtime Web/WASI-NN/边缘推理）、嵌入式与物联网（WAMR/OTA/RTOS）、游戏与 WebGPU（Emscripten/wgpu/零拷贝）、区块链智能合约（CosmWasm/ink!/确定性执行）、调试与性能剖析（DWARF/火焰图/wasm-tools），并深入 WasmGC 提案与托管语言（Java/C#/Kotlin 原生编译、引用类型与 GC 指令）、Wasmtime 运行时内部（Cranelift/JIT-AOT/epoch 抢占/fuel 计量）、Rust 编译进阶优化（wasm-bindgen/体积控制/异步桥接）、WASI 文件系统沙箱（preopened 目录/能力模型/路径逃逸防护）、异常与栈切换提案（try_table/suspend-resume/JSPI）以及宿主嵌入 API（Rust/C/Go/Python 嵌入 WASM 与 host 函数），并进一步扩展构建打包工具链（wasm-bindgen/wasm-pack）、浏览器语言运行时（Pyodide/QuickJS）、WASM 容器运行时与 Kubernetes（runwasi）、WASM 密码学、媒体编解码、SQLite/OPFS 持久化、Rust 前端框架（Leptos/Yew/Dioxus）、浏览器内数据分析（DuckDB-WASM/Apache Arrow）、Node.js 嵌入 WASM、流式编译与实例化优化、浏览器扩展（MV3/CSP）集成以及模块测试与模糊测试，为前端工程师到系统架构师提供从入门到生产的完整知识路径。</description></item></channel></rss>