SaaSHub helps you find the best software and product alternatives Learn more →
Sbt-native-image Alternatives
Similar projects and alternatives to sbt-native-image
-
zio-microservice
ZIO-powered microservices via HTTP and other protocols.
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
sbt-assembly
Deploy über-JARs. Restart processes. (port of codahale/assembly-sbt)
-
aws-sdk-scalajs-facade
A complete set of Scala.js type facade for aws-sdk-js
-
Finatra
Fast, testable, Scala services built on TwitterServer and Finagle
-
-
Scalatra
Tiny Scala high-performance, async web framework, inspired by Sinatra
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
-
Distribution
The Javascript ecosystem for Scala.js! (by ScalablyTyped)
-
feral
Feral cats are homeless, feral functions are serverless (by typelevel)
-
-
-
scala-3-lazy-reflective-access
Showcase of GraalVM native-image's configuration bloating up with Scala 3
-
LogoRRR
A simple and straightforward log viewer that displays the events of interest in a clear and concise visual manner so that you can identify them faster.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
sbt-native-image reviews and mentions
-
Scala.js AWS Lambda, using Scala 3
Take a look at sbt-native-image or sbt-native-packager for building the native image.
-
GraalVM native-image with Scala 3 reflection hell
The reason seems to be Scala 3's new encoding for lazy vals, where a reflective access to a variable called bitmap takes place. To demonstrate this, I took the http4s g8 template, set it up with Scala 3.1.0, added sbt native-image, started the nativeImageRunAgent and ran a single request against GET /joke. After stopping the server, the native-image run agent generated the reflective configs that are required for this path of execution. Comparing the generated Scala 2.13 with the Scala 3 configs, yields a bloated version for Scala 3 that contains these additional rules:
-
Is Scala and Play Framework dying?
Sbt plugin: https://github.com/scalameta/sbt-native-image
-
Native Image Compilation for A Purely Functional Example Application
IIRC, the sbt-native-image plugin can abstract that away, too: https://github.com/scalameta/sbt-native-image#nativeimagerunagent https://github.com/scalameta/sbt-native-image
-
SBT error when running package application: java.lang.RuntimeException: No main class detected.
Assembly, however, has some disadvantages so you may also want to look into other alternatives like sbt-native-packager. You may even want to produce a binary using sbt-native-image (which uses GraalVM under the hood) so your users do not need to install anything at all, not even a JRE.
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f09250c0d20>
www.saashub.com | 3 Jun 2023
Stats
The primary programming language of sbt-native-image is Scala.