4 ms·
There are better alternatives for almost every domain if you don’t need JVM / Java interop. Julia for mathy stuff. Python with pandas / polars. Rust with pol
by leetrout 2y ago
There are better alternatives for almost every domain if you don’t need JVM / Java interop.
Julia for mathy stuff.
Python with pandas / polars.
Rust with polars / actor frameworks.
Go for simple systems tooling / api dev.
Zig and Rust for systems programming.
Elixir / gleam for functional webdev.
JS / TS for everything.
- sideeffffect 2y agoAll these languages may work very well for many people for the described use cases. But one of Scala's strength is versatility. You could use it quite well for all the listed use cases too. With just one language. (Maybe with the exception of system programming -- Scala Native still requires a tracing GC.) Also, it's worth noting that Scala is more popular/mainstream/supported/has bigger community than Julia, Zig and Elixir / gleam. And if Red Monk is to be trusted, even more than Rust https://redmonk.com/sogrady/2024/09/12/language-rankings-6-24/ https://redmonk.com/sogrady/2024/09/12/language-rankings-6-2... That comes with many benefits. > if you don’t need JVM / Java interop OpenJDK is also very good, even if it's not a strict requirement to use it. Battle-tested, easily debugable, etc... AOT compilation is possible via GaalVM's native-image. Or you can try Scala.js or Scala Native (which don't have anything to do with JVM).
- DeathArrow 2y ago>All these languages may work very well for many people for the described use cases. But one of Scala's strength is versatility. You could use it quite well for all the listed use cases too. I think that the jack of all trades space is already occupied by C#.
- gf000 2y agoIt's not a field that could be occupied by a single language.