Giter Site home page Giter Site logo

vm-condenser's Introduction

Nanos World Lua VM Condenser

Need a shared global environment between a bunch of your packages?
Well look no further!

VM Condenser runs along side any packages you still want to be concurrent by only requiring unloaded packages, so you can still get the performance increase where needed, however some applications require a unified global env which this provides.

Installation

Set up your server's Config.toml to only load packages you want running concurrently (aka separate globals), every other package you have installed will be loaded into this VM.

Do not leave all package fields in the config blank, depending on the order packages end up getting loaded, this may duplicate only a few or almost all of your installed packages

Configuration

You can set a package load blacklist in Shared/Config.lua for any packages you don't load from the server config but you don't want this loading either.

Hot Reloading

Attempting to reload packages loaded into this VM will cause 2 instances of them to be running, instead reload this package.
this goes for all other package commands too

Compatibility Issues

Due to the various Unsubscribe functions unsubscribing all event handlers within the same Lua VM, any packages that don't specify the optional callback parameter to remove only that handler will remove every other package's event handlers loaded into this VM.

Some packages may also pollute the global table due to expecting their own environment to work in, although that's bad practice anyway some packages may do this due to not being designed to share an env.

Any package using persistent data will have its settings applied to this package's PersistentData.toml

vm-condenser's People

Contributors

derpius 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.