Skip to content

Release native builds #868

Closed
Closed

Description

@dlicois

Hello

GraalVM native-image support appears to have been added a little while ago #728 (see also #358). However there are no official native build release on the release page https://github.com/google/google-java-format/releases. is it working ?

Providing these could greatly benefit to java tooling as it would allow fast formatting without having to rely on IDEs customization and while being fully compliant with google style guide. This could be easily imported in Visual Studio Code for example.

Platform targets of most interest would be win32-x64, linux-x64, darwin-x64, darwin-arm64.

Activity

  1. vorburger commented on Feb 9, 2024

    @vorburger
    Member

    Yeah, this would be nice.

    Especially as there are now people who distribute native builds themselves elsewhere.

    Before thinking "release", there should probably be a way to (easily) build it here in this project?

    So #894 would probably be a pre-requisite here.

  2. vorburger commented on Feb 9, 2024

    @vorburger
    Member

    My #1045 will (should, to be tested and confirmed) make a native builds available at the next release cycle!

  3. vorburger commented on Feb 18, 2024

    @vorburger
    Member

    FYI JoseVSeb/google-java-format-for-vs-code#17 with links to my posts about this:

    "Formatting completed in 45ms." instead of 473ms previously...

    That x10 is actually noticeable on Ctrl-S Save a *.java, even on a fast computer - very cool!

    @cushon close this issue?

  4. natros commented on Feb 18, 2024

    @natros

    You can get better results if you compile with profile-guided optimizations (PGO)

  5. vorburger commented on Feb 20, 2024

    @vorburger
    Member

    You can get better results if you compile with profile-guided optimizations (PGO)

    @natros we welcome your PR to the configuration that's here if you have expertise in this and would like to contribute that!

  6. cushon commented on Feb 21, 2024

    @cushon
    Collaborator

    I'm going to close this out for now, PGO sounds worth considering as a follow-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions