oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
19.99k stars 1.6k forks source link

Support for universal binaries via Cosmopolitan #4854

Open LifeIsStrange opened 1 year ago

LifeIsStrange commented 1 year ago

This is not the same thing as the request for supporting cross compilation. Cosmopolitan is a new technology that allow x86 (and with emulation ARM) binaries to be executed on any OS, with a singles and small binary. This technology is potentially disruptive and would be a great addition to GraalVM as binaries would become closer to the famous write once run anywhere Philosophy. https://justine.lol/cosmopolitan/index.html

mukel commented 1 year ago

Cosmopolitan is somehow constrained e.g. currently there's no support for pthreads. native-image can already produce static executables linked against musl. We also need (static) JDK native libraries compiled against Cosmopolitan.

oubidar-Abderrahim commented 1 year ago

cc @christianwimmer

ianopolous commented 8 months ago

This would be amazing. I think Cosmopolitan supports pthreads now too.

elken commented 5 months ago

Gently nudging this to see if there's any/much activity :smile:

sgammon commented 3 months ago

Formally filed at #8350 / GR-52220