compiled language with wasm
tags: learning wasm programming
content
web assembly + natively compiled language的性能快, 因为:- compiler (clang, rustc) 能够直接把 代码 编译成
.wasmformat, - 浏览器能直接执行这个 web assembly 文件
- 不像 python 那样还要一个中间的 interpreter 来执行
- WebAssembly 在浏览器里是高度优化的
- compiler (clang, rustc) 能够直接把 代码 编译成
Note
WebAssembly 能带来接近原生的性能
up
WebAssembly python-wasm-performance