Giter VIP home page Giter VIP logo

pumas-luajit's Introduction

PUMAS-LuaJIT Documentation Status

A LuaJIT wrapper for the PUMAS Monte Carlo engine

This is Work In Progress

The pumas LuaJIT package allows to use the PUMAS C Monte Carlo engine from a high level language: Lua. Native performances are achieved thanks to the excellent Just-In-Time compiler of LuaJIT.

Installation

Installation on Windows is not yet supported but might be considered in the future. Meanwhile one might use Windows Subsystem for Linux instead.

The luajit executable and the pumas package are available as a single runtime: pumas-luajit. This runtime can be downloaded as a rolling release. Note that you need to change the mode of the downloaded file to executable, e.g. as:

wget https://github.com/niess/pumas-luajit/releases/download/linux/luajit-pumas
chmod u+x luajit-pumas

The luajit-pumas runtime can also be compiled from source by running the provided Makefile as:

make install PREFIX=$(pwd) MACOSX_DEPLOYMENT_TARGET=10.7

The MACOSX_DEPLOYMENT_TARGET argument is not needed on Linux but must be provided on OSX. In the latter case the deployment target version must be equal or greater than 10.7.

For Lua users, the pumas package is also available independently as a binary rock. It can be used with alternative LuaJIT runtimes e.g. the LÖVE game engine.

Documentation

A preliminary documentation is available from Read the Docs. You might also try the provided examples, e.g as:

luajit-pumas examples/materials.lua

License

The pumas LuaJIT package is under the GNU LGPLv3 license. See the provided LICENSE and COPYING.LESSER files. The examples however have a separate public domain license and can be be copied without any restriction.

pumas-luajit's People

Contributors

niess avatar

Stargazers

 avatar

Watchers

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