05-MoonBit 编程语言(WASM 技术)服务端应用展望以及对Kubernetes生态的影响
MoonBit 编程语言(WASM 技术) 服务端应用展望 以及对Kubernetes生态的影响 沙渺(MoonBit 语言社区开发者) 本分享包含大量目前尚处在早期开发阶段甚至概念阶段, 尚未获得广泛应用的技术。 仅为前景展望,不推荐用于当前立项开发的实际工程。 敬请注意 内容 • WASM 技术栈现状和 WASM 后端应用的构想 • MoonBit 语言介绍 • MoonBit MoonBit 方案对 WASM 技术栈的作用 • 对 Kubernetes 提出的挑战 分享者 • 沙渺,大连本地独立开发者 • Rust 语言社区早期参与者 The Rust Programming Language(中文纸质版)译者3 • MoonBit 语言社区开发者 官方标准库代码、教程资料编写者 WebAssembly (WASM) WASM 现状 • 1.0 MVP 已稳定(2017)已被 interfaces 或 WASI)上 WASM 后端应用先驱 wasmCloud (CNCF-Sandbox) fermyon/spin WasmEdge (CNCF-Sandbox) • 多数特性已标准化 • 一些特性对后端应用 不可或缺 • 但各个运行时的实现, 成熟度不一 • 使用扩展特性,基本 需要限定运行时 WASM 扩展特性 • 基本接口已在 WASM 1.0 标准化 • 但只能交换简单数据类型0 码力 | 30 页 | 3.41 MB | 9 月前3MuPDF 1.23.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3 Using MuPDF WASM 21 3.1 Installing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MuPDF Documentation, Release 1.23.0 20 Chapter 2. Using MuPDF with C CHAPTER THREE USING MUPDF WASM 3.1 Installing • From the command line, select the folder you want to work from and do: npm install annot.setLineEndingStyles("None", "ClosedArrow") (continues on next page) 22 Chapter 3. Using MuPDF WASM MuPDF Documentation, Release 1.23.0 (continued from previous page) annot = page.createAnnotation("Highlight")0 码力 | 245 页 | 817.74 KB | 8 月前3MuPDF 1.25.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3 Using MuPDF WASM 21 3.1 Installing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . either keep it or make your own copy. 20 Chapter 2. Using MuPDF with C CHAPTER THREE USING MUPDF WASM 3.1 Installing • From the command line, select the folder you want to work from and do: npm install annot.setLineEndingStyles("None", "ClosedArrow") (continues on next page) 22 Chapter 3. Using MuPDF WASM MuPDF Documentation, Release 1.25.0 (continued from previous page) annot = page.createAnnotation("Highlight")0 码力 | 259 页 | 1.11 MB | 8 月前3MuPDF 1.24.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3 Using MuPDF WASM 21 3.1 Installing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . either keep it or make your own copy. 20 Chapter 2. Using MuPDF with C CHAPTER THREE USING MUPDF WASM 3.1 Installing • From the command line, select the folder you want to work from and do: npm install annot.setLineEndingStyles("None", "ClosedArrow") (continues on next page) 22 Chapter 3. Using MuPDF WASM MuPDF Documentation, Release 1.24.0 (continued from previous page) annot = page.createAnnotation("Highlight")0 码力 | 249 页 | 830.15 KB | 8 月前3Service Mesh 发展趋势(续) 蚂蚁金服 | 骑士到中盘路向何方?
WebAssembly (WASM) in Envoy - https://github.com/envoyproxy/envoy/issues/4272 - 计划在1.12版本提供(1.11版本发布于7月12日) - envoy-wasm项目:Playground for Envoy WASM filter - https://github.com/envoyproxy/envoy-wasm +Web https://github.com/envoyproxy/envoy/issues/4272 - 2018年8月28日,提出Issue - 2018年10月开始动手 - 2019年5月poc完成,创建envoy-wasm项目 - 目前放在envoy的下一个milestone 1.12中Part 3:ServiceMesh灵魂拷问三:要不要支持虚拟机? 有了高大上的容器/k8s/云原生, 还要不要支持土里土气的0 码力 | 43 页 | 2.90 MB | 5 月前3Tracy: A Profiler You Don't Want to Miss
Negligible overhead (a few nanoseconds per zone) Cross-platform (Windows, Linux, macOS, iOS, Android, WASM*) Hybrid profiling capabilities (sampling and/or instrumentation) (CPU and GPU instrumentation) Negligible overhead (a few nanoseconds per zone) Cross-platform (Windows, Linux, macOS, iOS, Android, WASM*) Hybrid profiling capabilities (sampling and/or instrumentation) Tracing capabilities (values Negligible overhead (a few nanoseconds per zone) Cross-platform (Windows, Linux, macOS, iOS, Android, WASM*) Hybrid profiling capabilities (sampling and/or instrumentation) Tracing capabilities (values0 码力 | 84 页 | 8.70 MB | 5 月前3Tracy: A Profiler You Don't Want to Miss
Negligible overhead (a few nanoseconds per zone) Cross-platform (Windows, Linux, macOS, iOS, Android, WASM*) Hybrid profiling capabilities (sampling and/or instrumentation) (CPU and GPU instrumentation) Negligible overhead (a few nanoseconds per zone) Cross-platform (Windows, Linux, macOS, iOS, Android, WASM*) Hybrid profiling capabilities (sampling and/or instrumentation) Tracing capabilities (values Negligible overhead (a few nanoseconds per zone) Cross-platform (Windows, Linux, macOS, iOS, Android, WASM*) Hybrid profiling capabilities (sampling and/or instrumentation) Tracing capabilities (values0 码力 | 85 页 | 6.51 MB | 5 月前3Python 标准库参考指南 3.11.10
Reference, 发行版本 3.11.10 1.1.1 WebAssembly platforms The WebAssembly platforms wasm32-emscripten (Emscripten) and wasm32-wasi (WASI) provide a subset of POSIX APIs. WebAssembly runtimes and browsers are and behavior of Python on WebAssembly platforms depend on the Emscripten-SDK or WASI-SDK version, WASM runtimes (browser, NodeJS, wasmtime), and Python build time flags. WebAssembly, Emscripten, and WASI Python Library Reference, 发行版本 3.11.10 可用性: 非 Emscripten,非 WASI。 此 模 块 在 WebAssembly 平 台 wasm32-emscripten 和 wasm32-wasi 上 不 适 用 或 不 可 用。 请 参 阅WebAssembly platforms 了解详情。 8.2.1 使用 ZoneInfo ZoneInfo 是datetime0 码力 | 2248 页 | 11.10 MB | 9 月前3Python 标准库参考指南 3.11.10
and glibc 2.27 or newer. 1.1.1 WebAssembly platforms The WebAssembly platforms wasm32-emscripten (Emscripten) and wasm32-wasi (WASI) provide a subset of POSIX APIs. WebAssembly runtimes and browsers are and behavior of Python on WebAssembly platforms depend on the Emscripten-SDK or WASI-SDK ver- sion, WASM runtimes (browser, NodeJS, wasmtime), and Python build time flags. WebAssembly, Emscripten, and WASI CPython 核心开发者维护以通过 PyPI 提供时区数据的第一方包。 可用性: 非 Emscripten,非 WASI。 此 模 块 在 WebAssembly 平 台 wasm32-emscripten 和 wasm32-wasi 上 不 适 用 或 不 可 用。 请 参 阅WebAssembly platforms 了解详情。 8.2.1 使用 ZoneInfo ZoneInfo 是datetime0 码力 | 2399 页 | 11.19 MB | 9 月前3Python 标准库参考指南 3.12
The Python Library Reference, 发行版本 3.12.7 1.1.1 WebAssembly 平台 WebAssembly 平台 wasm32-emscripten (Emscripten) 和 wasm32-wasi (WASI) 分别提供了 POSIX API 的 一个子集。WebAssembly 运行时和浏览器都处于沙盒模式中并具有对主机和外部资源的受限访问权。任 I/O。其他阻塞式操作如sleep() 则会阻塞浏览器的事件循环。 Python 在 WebAssembly 平台上的特性与行为依赖于 Emscripten-SDK 或 WASI-SDK 的版本, WASM 运行时 (浏览器, NodeJS, wasmtime) 以及 Python 编译时旗标。WebAssembly, Emscripten 和 WASI 都是尚在不断演 化中的标准;某些特性例如网络可能会在未来被支持。 核心开发者维护以通过 PyPI 提供时区数据的第一方包。 Availability: not Emscripten, not WASI. 此 模 块 在 WebAssembly 平 台 wasm32-emscripten 和 wasm32-wasi 上 不 适 用 或 不 可 用。 请 参 阅WebAssembly 平台 了解详情。 8.2.1 使用 ZoneInfo ZoneInfo 是datetime0 码力 | 2253 页 | 11.81 MB | 9 月前3
共 36 条
- 1
- 2
- 3
- 4