Giter VIP home page Giter VIP logo

elune's People

Contributors

ferronn-dev avatar meorawr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ferronn-dev

elune's Issues

Facility to disable dynamic libraries

Stock Lua 5.1.5 provides a configuration knob to control usage of dlopen-based functionality. This is on by default when using LUA_USE_LINUX but is still a separate preprocessor symbol that can be manipulated separately.

In Elune, LUA_USE_POSIX is used as a single knob, which makes it difficult/impossible to compile Elune for POSIX while simultaneously disabling dlopen.

This is desirable for Elune installations that wish to statically link all dependencies, in particular to avoid a cranky linker warning, e.g.

/usr/bin/ld: /tmp/wowless.GKA9d8.ltrans4.ltrans.o: in function `unixDlOpen.lto_priv.0':
<artificial>:(.text+0x1218): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

Perhaps a separate configuration altogether is actually best, to uniformly (irrespective of POSIX or anything else) request the stub ll_ function implementations in loadlib.c.

nullary error() behavior different from stock lua

$ lua -e 'print(1); error(); print(2)'
1
$ elune/build/linux/bin/Release/lua5.1 -e 'print(1); error(); print(2)'
1
elune/build/linux/bin/Release/lua5.1: (error object is a nil value)
stack traceback:
        [C]: in function 'error'
        (command line):1: in main chunk
        [C]: in ?

Found through the busted Lua unittest framework, which uses error() on exit.

Update default GC tuning values

From in-game testing the GC step multiplier is correct (200), however the pause value is incorrect (110 in-game, 200 in our config header).

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.