Coder Social home page Coder Social logo

supersodasea / wasmer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wasmerio/wasmer

0.0 0.0 0.0 293.08 MB

πŸš€ The leading WebAssembly Runtime supporting WASI and Emscripten

Home Page: https://wasmer.io

License: MIT License

Shell 0.09% C++ 3.37% Python 0.52% C 2.16% Rust 93.18% Swift 0.08% Makefile 0.54% Inno Setup 0.05% Batchfile 0.01% Dockerfile 0.01%

wasmer's Introduction


Wasmer is a fast and secure WebAssembly runtime that enables super lightweight containers to run anywhere: from Desktop to the Cloud, Edge and IoT devices.

This document is also available in: πŸ‡¨πŸ‡³ δΈ­ ζ–‡ -Chinese β€’ πŸ‡©πŸ‡ͺ Deutsch-German β€’ πŸ‡ͺπŸ‡Έ EspaΓ±ol-Spanish β€’ πŸ‡«πŸ‡· FranΓ§ais-French β€’ πŸ‡―πŸ‡΅ ζ—₯本 θͺž -Japanese β€’ πŸ‡°πŸ‡· ν•œκ΅­μ–΄ -Korean.

Features

  • Secure by default. No file, network, or environment access, unless explicitly enabled.
  • Supports WASI and Emscripten out of the box.
  • Fast. Run WebAssembly at near-native speeds.
  • Embeddable in multiple programming languages
  • Compliant with latest WebAssembly Proposals (SIMD, Reference Types, Threads, ...)

Install

Wasmer CLI ships as a single executable with no dependencies.

curl https://get.wasmer.io -sSfL | sh
Other installation options (Powershell, Brew, Cargo, ...)

Wasmer can be installed from various package managers. Choose the one that fits best for your environment:

  • Powershell (Windows)

    iwr https://win.wasmer.io -useb | iex
  • Homebrew (macOS, Linux)

    brew install wasmer
  • Scoop (Windows)

    scoop install wasmer
  • Chocolatey (Windows)

    choco install wasmer
  • Cargo binstall

    cargo binstall wasmer-cli
  • Cargo

    Note: All the available features are described in the wasmer-cli crate docs

    cargo install wasmer-cli

Looking for more installation options? See the wasmer-install repository to learn more!

Quickstart

You can start by running QuickJS, a small and embeddable Javascript engine compiled as a WebAssembly module (qjs.wasm):

$ wasmer qjs.wasm
QuickJS - Type "\h" for help
qjs > const i = 1 + 2;
qjs > console.log("hello " + i);
hello 3

Here is what you can do next:

πŸ“¦ Language Integrations

The Wasmer runtime can be used as a library embedded in different languages, so you can use WebAssembly anywhere.

Language Package Documentation
Rust logo Rust wasmer Rust crate Learn
C logo C wasm.h header Learn
C++ logo C++ wasm.hh header Learn
C# logo C# WasmerSharp NuGet package Learn
D logo D wasmer Dub package Learn
Python logo Python wasmer PyPI package Learn
JS logo Javascript @wasmerio NPM packages Learn
Go logo Go wasmer Go package Learn
PHP logo PHP wasm PECL package Learn
Ruby logo Ruby wasmer Ruby Gem Learn
Java logo Java wasmer/wasmer-jni Bintray package Learn
R logo R no published package Learn
Postgres logo Postgres no published package Learn
Swift logo Swift no published package
Zig logo Zig no published package
Dart logo Dart wasm pub package
Crystal logo Crystal no published package Learn
Lisp logo Lisp no published package
Julia logo Julia no published package
VLang logo V no published package
Ocaml logo OCaml wasmer OCaml package

πŸ‘‹Β Β Missing a language?

Contribute

We appreciate your help! πŸ’œ

We recommend reading the following guide on how to contribute into a complex project successfully: https://mitchellh.com/writing/contributing-to-complex-projects

Check our docs on how to build Wasmer from source or test your changes.

Community

Wasmer has an amazing community of developers and contributors. Welcome, please join us! πŸ‘‹

wasmer's People

Contributors

syrusakbary avatar hywan avatar markmccaskey avatar fschutt avatar bors[bot] avatar nlewycky avatar losfair avatar ptitseb avatar bjfish avatar lachlansneff avatar xmclark avatar amanieu avatar epilys avatar dependabot-preview[bot] avatar appcypher avatar jubianchi avatar nathhorrigan avatar silwol avatar ailisp avatar pventuzelo avatar theduke avatar webmaster128 avatar yaronwittenstein avatar michael-f-bryan avatar chenyukang avatar jcaesar avatar natowi avatar piranna avatar earthmark avatar bnjjj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.