3 ms·
So elide is a tool to run {js|ts|py} [1]. How does it compile javac to native? [1] https://github.com/elide-dev/elide https://github.com/elide-dev/elide
by kristianp 1y ago
So elide is a tool to run {js|ts|py} [1]. How does it compile javac to native?
[1] https://github.com/elide-dev/elide https://github.com/elide-dev/elide
- sgammon 1y agoIn addition to being a runtime, Elide embeds `javac` and `kotlinc`. Here it is being used as a build toolchain, but it can also run those languages, through GraalVM/Truffle.
- sgammon 1y ago(In other news, I've added Kotlin to the list there, as {...|kt|kts}, so thank you for reporting this as well! We really need some docs updates and I'll make sure to clarify this stuff)
- mdaniel 1y agoWhat.is.happening.here. Are they committing node_modules or something? $ git clone https://github.com/elide-dev/elide.git Receiving objects: 100% (126086/126086), 643.85 MiB | 3.02 MiB/s, done.
- sgammon 1y agoThere are some JARs we must commit to source because they are built with patches from upstream GraalVM components. That's probably the big weight there. We have an issue in our repo tracking those upstream PRs. Once merged, we won't need to do this anymore. We should probably publish them in our own Maven repo to avoid this kind of experience. Thanks for the push to take care of that cruft :P You can find them in `third_party/oracle`. You also don't need to build from source -- Elide ships as a binary for Linux amd64/macOS arm64. You are totally welcome to though, and if you encounter issues, hop in our discord and we'd be glad to help: https://elide.dev/discord https://elide.dev/discord