Giter VIP home page Giter VIP logo

lijy-launch's Introduction

LiJy-launch

Lightweight multiplatform Jython-launcher

Why write another Jython-launcher?

The current situation is as follows:

On Linux the Jython-launcher is a hard to read and vastly unmaintainable sh-script, that is even said to be buggy. On Windows it used to be a similar situation with a bat-script that was recently replaced by a python-script. This is currently provided as an exe-file via py2exe and thus bundles the CPython interpreter as a dependency.

Is that weird? Jython bundles CPython just as a launcher? Yes, but it was - however - the only feasible solution within given time-constraints. First do things right...

Another downside of this solution is that on Windows a process cannot replace itself by another process. That means that Jython always runs as a subprocess of CPython.

How it works

This project is a sandbox for creating a new lightweight Jython launcher based on JNI (similar to java.exe). We will combine the sources of java.exe and CPython-launcher to produce a platform-independent launcher-source that will provide elegant and lightweight binary Jython launchers for Linux, Windows, OSX and other target platforms.

Current state

The launcher was not extensively tested yet, but supports almost all options and environment variables that jython.py supports. It is currently Linux-only, but a Windows-version is the next major goal. It has only been tested with Open JDK.

What not yet works: Should emit error message if jython.jar (or related) is not found.

License

As LiJy-launch inherits some code from the original Open JDK Java-launcher, it is released under the same license as Open JDK, which is GPL v2 with classpath exception. See the file LICENSE for details.

Contact

For now write to [email protected].

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.