(module
(type (;0;) (func (param i32) (result i32)))
(func $fib (type 0) (param $n i32) (result i32)
local.get $n
i32.const 2
i32.lt_s
if ;; label = @1
i32.const 1
return
end
local.get $n
i32.const 2
i32.sub
call $fib
local.get $n
i32.const 1
i32.sub
call $fib
i32.add
return)
(export "fib" (func $fib)))
Compared with Linux containers, WasmEdge could be 100x faster at start-up and 20% faster at runtime.
A WasmEdge app could take 1/100 of the size of a similar Linux container app.
Build WasmEdge extensions in C++.
Build customized WasmEdge runtimes with native host functions in C, Go and Rust.
Embed WasmEdge functions in C, Go, Rust, Node.js and Python host applications.
Embed functions in cloud and edge native application platforms and frameworks.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.