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

Port to Scala, compiled with GraalVM's native-image? #19

Open
dwijnand opened this issue May 22, 2020 · 1 comment
Open

Port to Scala, compiled with GraalVM's native-image? #19

dwijnand opened this issue May 22, 2020 · 1 comment

Comments

@dwijnand
Copy link
Owner

I'm not sure if I'll do it, but I'm wondering: what if this were ported to Scala, set up to compile with GraalVM's native-image? Pros:

  1. it wouldn't have additional runtime dependency, like hub/jq/cs (i.e. Fast+cleanly fail on missing: cs, hub or jq #1)
  2. it would fix the Windows/BAT support issue (Windows/BAT support #4), except for the fact that it needs to be compiled on Windows
  3. could expose the resolved scala version in all cases (i.e. fully resolve Expose internals to support returning the resolved scala version #17)
  4. easier to test

Cons:

  1. less introspectable/auditable
  2. harder to customize
  3. more complicated setup / harder to distribute
  4. introduces a build time

So, more generally: how would you feel about this change? Would you feel as comfortable using and depending on scala-runners if this went through?

@SethTisue
Copy link
Collaborator

Would you feel as comfortable using and depending on scala-runners if this went through?

I would. Especially since it's still early and there isn't yet much of an existing userbase for this.

And I think it's important for Scala that this becomes a workable way to make command-line things, so I think it's a good use of our team's time to dogfood that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants