GithubHelp home page GithubHelp logo

tobix / runtime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yowasp/runtime-py

0.0 1.0 0.0 46 KB

Common runtime for YoWASP packages, interfacing with the WebAssembly engine and the OS

License: ISC License

Shell 26.14% Python 69.24% C 4.62%

runtime's Introduction

YoWASP runtime

This package is an internal support package for the YoWASP project. It handles interfacing with the WebAssembly runtime and the supported operating systems. Do not depend on this package in your own code.

Configuration

The YoWASP runtime can be configured through environment variables:

YOWASP_CACHE_DIR

YoWASP ships application code as architecture-independent WebAssembly and compiles it to architecture-specific machine code on first run. To make subsequent runs faster, it saves the generated machine code to a cache, which by default is located at %LocalAppData%\YoWASP\Cache (on Windows), $HOME/.cache/YoWASP (on Linux), or $HOME/Library/Caches/YoWASP (on macOS). This location can be customized by setting the YOWASP_CACHE_DIR environment variable.

YOWASP_MOUNT

YoWASP isolates the applications from the underlying operating system such that only filesystem access is possible. By default, the application can access the entire filesystem and host paths can be used unmodified (however on Windows, all paths must use / as the path separator). If the environment variable YOWASP_MOUNT is set, then the application can only access the paths specified in that environment variable and their descendants. Paths above the ones specified cannot be accessed, even using extra .. segments.

The syntax for specifying mounts is YOWASP_MOUNT=<mountpoint1>=<path1>[:<mountpoint2>=<path2>[:...]]. That is, mounts are specified as <mountpoint>=<path> pairs separated by : symbols, where operating system path <path> becomes accesible by the application at <mountpoint>.

License

This package is covered by the ISC license.

runtime's People

Contributors

whitequark avatar

Watchers

 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.