Our great sponsors
|3 days ago||about 7 years ago|
|Apache License 2.0||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Is Parallel Programming Hard, and, If So, What Can You Do About It? [pdf]
4 projects | news.ycombinator.com | 19 Feb 2023
I use ZIO (http://zio.dev) for Scala which makes parallel programming trivial.
Wraps different styles of asynchronicity e.g. callbacks, futures, fibers into one coherent model. And has excellent resource management so you can be sure that when you are forking a task that it will always clean up after itself.
Have yet to see anything that comes close whilst still being practical i.e. you can leverage the very large ecosystem of Java libraries.
40x Faster! We rewrote our project with Rust!
5 projects | reddit.com/r/rust | 30 Jan 2023
The one advantage Rust has over Scala is that it detects data races at compile time, and that's a big time saver if you use low level thread synchronization. However, if you write pure FP code with ZIO or Cats Effect that's basically a non-issue anyway.
What’s so great about functional programming anyway?
8 projects | news.ycombinator.com | 16 Nov 2022
> It's a weakness of functional programming, not the language.
I would strongly object this.
Have you seen ZIO?
Switching career from F# to scala
2 projects | reddit.com/r/scala | 24 Oct 2022
But overall, I'm happier with Scala. It has not one, but two lively FP communities. I recommend that you pick one of them: ZIO or TypeLevel (Cats Effect, fs2, http4s, ...). To some extent, you can mix TypeLevel libraries in ZIO projects.
New to Scala;
8 projects | reddit.com/r/scala | 14 Oct 2022
Next Steps for Rust in the Kernel
8 projects | news.ycombinator.com | 21 Sep 2022
I think "better Haskell on JVM" (in contrast to "worse Haskell") is a good identity for Scala to have. (Please note that this is an intentional hyperbole.)
Of course, there are areas where Haskell is stronger than Scala (hint: modularity, crucial for good Software Engineering, is not one of them). And Scala has its own way of doing things, so just imitating Haskell won't work well.
Examples of this "better Haskell" are https://typelevel.org/cats-effect/ and https://zio.dev/ .
All together, Scala may be a better choice for you if you want to do Pure Functional Programming. And is definitely less risky (runs on JVM, Java libraries interop, IntelliJ, easy debugging, etc...).
None of the other languages you mentioned are viable in this sense (if also you want a powerful type system, which rules out Clojure).
I agree that Rust's identity is pretty clear: a modern language for use cases where only C or C++ could have been used before.
Java 19 Is Out
4 projects | news.ycombinator.com | 20 Sep 2022
I would use Scala. I like FP and Scala comes with some awesome libraries for concurrent/async programming like Cats Effect or ZIO. Good choice for creating modern style micro-services to be run in the cloud (or even macro-services, Scala has a powerful module system, so it's made to handle large codebases).
The language, the community and customs are great. You don't have to worry about nulls, things are immutable by default, domain modelling with ADTs and patter matching is pure joy.
The tooling available is from good to great and Scala is big enough that there are good libraries for typical if not vast majority of stuff and Java libs as a reliable fallback.
Scala Isn't Fun Anymore
9 projects | news.ycombinator.com | 13 Sep 2022
I actually think Scala is in the best position it's ever been.
There is a commitment to making the language simpler, easier and cleaner.
On the backend, ZIO  is the best concurrency library on any platform. On the frontend you have really interesting Scala.js projects like Laminar .
The biggest issue really is the tooling. SBT is simply awful.
A Python-compatible statically typed language erg-lang/erg
27 projects | news.ycombinator.com | 13 Aug 2022
Ask HN: Any alternative to Java (OOP) which has the same ecosystem?
5 projects | news.ycombinator.com | 11 Jul 2022
Scala? With some help from additional libs such as Zio (https://zio.dev/) it allows you to write production quality programs like you would in Haskell on top of the JVM quite quickly...
We haven't tracked posts mentioning typed-actors yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
cats-effect - The pure asynchronous runtime for Scala
Monix - Asynchronous, Reactive Programming for Scala and Scala.js.
Http4s - A minimal, idiomatic Scala interface for HTTP
cats - Lightweight, modular, and extensible library for functional programming.
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
fs2-kafka - Functional Kafka Streams for Scala
Scala.Rx - An experimental library for Functional Reactive Programming in Scala
Reactor-Scala-Extensions - A scala extension for Project Reactor's Flux and Mono
RxScala - RxScala – Reactive Extensions for Scala – a library for composing asynchronous and event-based programs using observable sequences
Laminar - Simple, expressive, and safe UI library for Scala.js
scalajs-react - Facebook's React on Scala.JS