Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ubermanu/web-assembly-to-native-exe
AssemblyScript native executable POC
https://github.com/ubermanu/web-assembly-to-native-exe
assembly-script native wasm wasmer web-assembly
Last synced: about 2 months ago
JSON representation
AssemblyScript native executable POC
- Host: GitHub
- URL: https://github.com/ubermanu/web-assembly-to-native-exe
- Owner: ubermanu
- Created: 2023-04-09T21:49:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-10T08:38:42.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T06:06:26.747Z (3 months ago)
- Topics: assembly-script, native, wasm, wasmer, web-assembly
- Language: Makefile
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebAssembly Native Executable
> This is a simple example on how to create a WebAssembly native executable on linux using [wasmer](https://wasmer.io/).
## Dependencies
- [wasmer](https://wasmer.io/)
- Node.js + PNPM (or else you can use NPM or Yarn)## Install
Clone this repository and install the dependencies:
```bash
git clone https://github.com/ubermanu/web-assembly-to-native-exe
cd web-assembly-to-native-exe
pnpm install
```## Build
Build the WebAssembly file into a native executable:
```bash
make build
```## Run
Run the executable:
```bash
make run
```