Hacker News new | ask | show | jobs
by dmos62 448 days ago
I've been meaning to try scala-js. If anyone care to share their experience with GraalVM's native-image, I'd be interested in hearing that.
1 comments

> If anyone care to share their experience with GraalVM's native-image, I'd be interested in hearing that.

The main issue is if you are using reflection, which needs metadata adding to describe it so the necessary metadata is included in the image. Some libraries already have it built in, and there are tools to help.

For building, https://github.com/sbt/sbt-assembly supports native Image.