All Projects → second-state → WasmEdge-go

second-state / WasmEdge-go

Licence: Apache-2.0 License
The GO language SDK and API for WasmEdge

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to WasmEdge-go

rustwasmc
Tool for building Rust functions for Node.js. Combine the performance of Rust, safety and portability of WebAssembly, and ease of use of JavaScript.
Stars: ✭ 97 (+56.45%)
Mutual labels:  webassembly, wasmedge
cabasa
Haxe Framework for WebAssembly
Stars: ✭ 30 (-51.61%)
Mutual labels:  webassembly
imgalign
Webapplication for image stitching and aligning
Stars: ✭ 162 (+161.29%)
Mutual labels:  webassembly
image-hub
Image Hub is a sample application for exploring WebAssembly modules used as Envoy filters.
Stars: ✭ 56 (-9.68%)
Mutual labels:  webassembly
TypeScriptXX
🧷 Stay safe! Type-safe scripting for C++ using TypeScriptToLua and CMake with auto-generated declarations.
Stars: ✭ 33 (-46.77%)
Mutual labels:  webassembly
eosio-demo1-election
My experiment on EOSIO blockchain to develop an election Smart Contract. I also develop a webapp which interacts with the blockchain.
Stars: ✭ 17 (-72.58%)
Mutual labels:  webassembly
fullstack-rust
Reference implementation of a full-stack Rust application
Stars: ✭ 39 (-37.1%)
Mutual labels:  webassembly
shorelark
Simulation of life & evolution
Stars: ✭ 109 (+75.81%)
Mutual labels:  webassembly
samlang
Sam's Programming Language
Stars: ✭ 22 (-64.52%)
Mutual labels:  webassembly
widgets playground
Showcase example for https://github.com/therecipe/qt
Stars: ✭ 50 (-19.35%)
Mutual labels:  webassembly
koder
QR/bar code scanner for the Browser
Stars: ✭ 73 (+17.74%)
Mutual labels:  webassembly
gearoenix
Cross-platform C++ 3D game engine.
Stars: ✭ 33 (-46.77%)
Mutual labels:  webassembly
node-wasi
WASI for Node.js
Stars: ✭ 64 (+3.23%)
Mutual labels:  webassembly
vmrp
mrp emulator, virtual machine, mrp模拟器
Stars: ✭ 126 (+103.23%)
Mutual labels:  webassembly
fast-base64
Fastest base64 on the web, with Wasm + SIMD
Stars: ✭ 23 (-62.9%)
Mutual labels:  webassembly
DominicanWhoCodes
DominicanWho.Codes App
Stars: ✭ 58 (-6.45%)
Mutual labels:  webassembly
Uno.Themes
This library is designed to help you use the material design system with the Uno Platform
Stars: ✭ 112 (+80.65%)
Mutual labels:  webassembly
Sharpen
(Demo) A v-dom "diff" engine based on WebAssembly, aim to build efficient and fluent web apps.
Stars: ✭ 20 (-67.74%)
Mutual labels:  webassembly
block-aligner
SIMD-accelerated library for computing global and X-drop affine gap penalty sequence-to-sequence or sequence-to-profile alignments using an adaptive block-based algorithm.
Stars: ✭ 58 (-6.45%)
Mutual labels:  webassembly
yew-router
Router extension to yew
Stars: ✭ 27 (-56.45%)
Mutual labels:  webassembly

WasmEdge for Go Package

The WasmEdge (formerly SSVM) is a high performance WebAssembly runtime optimized for server side applications. This project provides a golang package for accessing to WasmEdge.

Getting Started

The WasmEdge-go requires golang version >= 1.16. Please check your golang version before installation. Developers can download golang here.

$ go version
go version go1.16.5 linux/amd64

Developers must install the WasmEdge shared library with the same WasmEdge-go release version.

curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v 0.9.1

For the developers need the TensorFlow or Image extension for WasmEdge-go, please install the WasmEdge with extensions:

curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -e all -v 0.9.1

Noticed that the TensorFlow and Image extensions are only for the Linux platforms.

Install the WasmEdge-go package and build in your Go project directory:

go get github.com/second-state/WasmEdge-go/[email protected]
go build

WasmEdge-go Extensions

By default, the WasmEdge-go only turns on the basic runtime.

WasmEdge-go has the following extensions:

  • Tensorflow

    • This extension supports the host functions in WasmEdge-tensorflow.

    • The TensorFlow extension when installing WasmEdge is required. Please install WasmEdge with the -e tensorflow command.

    • For using this extension, the tag tensorflow when building is required:

      go build -tags tensorflow
  • Image

    • This extension supports the host functions in WasmEdge-image.

    • The Image extension when installing WasmEdge is required. Please install WasmEdge with the -e image command.

    • For using this extension, the tag image when building is required:

      go build -tags image

Users can also turn on the multiple extensions when building:

go build -tags image,tensorflow

For examples, please refer to the example repository.

WasmEdge-go Documentation

Please refer to the API Documentation for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].