Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Support for GraalVM Native #3958

Closed
wants to merge 1 commit into from
Closed

Commits on Jun 13, 2022

  1. Proposal: Support for GraalVM Native

    This changeset proposes support for invocation of Closure Compiler
    on the command line, via a GraalVM Native Image binary.
    
    Using the [`rules_graal`][1] package, there is now a target for the
    compiler in native binary form. Downstream, projects can load a bzl
    file to download a binary distribution for their platform, and run
    Closure in their own projects without needing to build.
    
    Included is a small benchmark tool which compares a fresh native vs.
    JVM copy on your own system. In preliminary tests (in `SIMPLE` mode
    only, for now), macOS M1 sees about 70% faster compile time versus
    execution through a JVM.
    
    [1]: https://github.com/andyscott/rules_graal
    sgammon committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    3e5aec9 View commit details
    Browse the repository at this point in the history