1*97e0b7dbSAlex Crichton# Hello, world! 2*97e0b7dbSAlex Crichton 3*97e0b7dbSAlex CrichtonYou can also browse this source code online and clone the wasmtime 4*97e0b7dbSAlex Crichtonrepository to run the example locally: 5*97e0b7dbSAlex Crichton 6*97e0b7dbSAlex Crichton* [Rust](https://github.com/bytecodealliance/wasmtime/blob/main/examples/hello.rs) 7*97e0b7dbSAlex Crichton* [C](https://github.com/bytecodealliance/wasmtime/blob/main/examples/hello.c) 8*97e0b7dbSAlex Crichton* [C++](https://github.com/bytecodealliance/wasmtime/blob/main/examples/hello.cc) 9*97e0b7dbSAlex Crichton 10*97e0b7dbSAlex CrichtonThis example shows off how to instantiate a simple wasm module and interact with 11*97e0b7dbSAlex Crichtonit. 12*97e0b7dbSAlex Crichton 13*97e0b7dbSAlex Crichton## Wasm Source 14*97e0b7dbSAlex Crichton 15*97e0b7dbSAlex Crichton```wat 16*97e0b7dbSAlex Crichton{{#include ../examples/hello.wat}} 17*97e0b7dbSAlex Crichton``` 18*97e0b7dbSAlex Crichton 19*97e0b7dbSAlex Crichton## Host Source 20*97e0b7dbSAlex Crichton 21*97e0b7dbSAlex Crichton<!-- langtabs-start --> 22*97e0b7dbSAlex Crichton```rust 23*97e0b7dbSAlex Crichton{{#include ../examples/hello.rs}} 24*97e0b7dbSAlex Crichton``` 25*97e0b7dbSAlex Crichton 26*97e0b7dbSAlex Crichton```c 27*97e0b7dbSAlex Crichton{{#include ../examples/hello.c}} 28*97e0b7dbSAlex Crichton``` 29*97e0b7dbSAlex Crichton 30*97e0b7dbSAlex Crichton```cpp 31*97e0b7dbSAlex Crichton{{#include ../examples/hello.cc}} 32*97e0b7dbSAlex Crichton``` 33*97e0b7dbSAlex Crichton<!-- langtabs-end --> 34