https://github.com/funcdef/fdvm
Server-side WebAssembly Runtime
https://github.com/funcdef/fdvm
webassembly
Last synced: 8 months ago
JSON representation
Server-side WebAssembly Runtime
- Host: GitHub
- URL: https://github.com/funcdef/fdvm
- Owner: funcdef
- Created: 2018-04-14T05:50:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-19T03:03:15.000Z (over 7 years ago)
- Last Synced: 2024-11-17T04:35:33.342Z (about 1 year ago)
- Topics: webassembly
- Language: JavaScript
- Size: 81.1 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awe-wasm - FDVM - activity/m/funcdef/fdvm)  (Runtimes / **Javascript**)
README
# FuncDef VM
WASM runtime to develop server-side WebAssembly applications.
## Goals
- Provide a common interface for developing server side applications for languages targeting wasm (E.g. C, C++, Rust, AssemblyScript, Kotlin, Crystal)
- Aim to be interface compatible with multitenant execution for FaaS/PaaS runtimes
# Try
`git clone https://github.com/funcdef/fdvm.git`
`cd fdvm/packages/fdvm-cli`
`npm install -g`
Convert the following to wasm using `wat2wasm`:
```
(module
(func $log (import "env" "log") (param i32))
(func $main
i32.const 42
(call $log)
)
(start $main)
)
```
```
$fdvm example.wasm
42
```
## Feature Requests/Issues/Suggestions
Please open a Github Issue
## Testing
Run `lerna run test` to run jest tests.
Tested on node v9.11.1