ZIO
typed-actors
Our great sponsors
ZIO | typed-actors | |
---|---|---|
52 | 0 | |
3,753 | 147 | |
0.8% | - | |
9.7 | 0.0 | |
3 days ago | about 7 years ago | |
Scala | Scala | |
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.
ZIO
-
Is Parallel Programming Hard, and, If So, What Can You Do About It? [pdf]
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!
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?
> 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
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;
-
Next Steps for Rust in the Kernel
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
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).
https://typelevel.org/cats-effect/
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
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 [1] is the best concurrency library on any platform. On the frontend you have really interesting Scala.js projects like Laminar [2].
The biggest issue really is the tooling. SBT is simply awful.
[1] https://zio.dev
- A Python-compatible statically typed language erg-lang/erg
-
Ask HN: Any alternative to Java (OOP) which has the same ecosystem?
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...
typed-actors
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