jakt VS cats-effect

Compare jakt vs cats-effect and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
jakt cats-effect
31 34
2,747 1,954
0.7% 1.7%
9.4 9.7
about 1 month ago 7 days ago
C++ Scala
BSD 2-clause "Simplified" License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

jakt

Posts with mentions or reviews of jakt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-20.
  • The Jakt Programming Language
    1 project | news.ycombinator.com | 29 Jan 2024
  • "Useless Ruby sugar": Pattern matching (Pt. 1)
    3 projects | news.ycombinator.com | 20 Oct 2023
  • Essence: A desktop OS built from scratch, for control and simplicity
    8 projects | news.ycombinator.com | 27 Sep 2023
    SerenityOS is doing exactly that:

    https://github.com/SerenityOS/serenity/tree/master/Ladybird

    I also like their Jakt programming language:

    https://github.com/SerenityOS/jakt

    Though I'm more enthusiastic about Redox (doing it in Rust):

    https://gitlab.redox-os.org/redox-os/redox/

  • Jakt (Programming Language)
    1 project | news.ycombinator.com | 9 Sep 2023
  • Will Carbon Replace C++?
    14 projects | news.ycombinator.com | 27 Feb 2023
    It's very opinionated and SerenityOS-focused, but the language Jakt ( https://github.com/SerenityOS/jakt ) transpiles to C++, has memory safety and some very neat ideas for readability.
  • Ask HN: Are people still using Pascal in 2023?
    6 projects | news.ycombinator.com | 26 Feb 2023
    I love Rust, but its model and specifics would make it difficult to learn how to write code in other languages.

    For low-level code, I think Carbon may fill that niche in the future. If it doesn't, C++ may be a good candidate once up-to-date books have been written and compilers actually support the modern spec. Classrooms/guides would need to move away from the still-lingering "C++ is C with classes" approach and use the standard library before that can be a reality, but this book[0] by Bjarne Stroustrup himself demonstrates the future C++ _could_ have if all the modern language features become usable.

    In business, C++ will still be the domain of ancient clusterfucks compiled by MSVC++ 6 in many areas, similar to how most Java code is still built around Java 8 because that was the most recent stable version for many projects' lifecycle (and Oracle's decision to only ship JRE 8 to consumers doesn't help) and how .NET 4 is still taught in schools because the new and scary dotnet tool doesn't map 1-to-1 with the old way of working. I can't imagine microcontroller toolkits supporting a modern version of _any_ language in the first place.

    However, if more people would learn modern C++ (or a replacement, like Carbon), I think this class of programming languages can have the same growth and hype Rust has enjoyed for the past years.

    I'm keeping my eye on Carbon and Zig. Google's influence has managed to push Go to the forefront despite its many quirks, and Zig seems to be focused on doing "C, but right" rather than "C++, but right" which so far is looking pretty promising.

    It's also fun to see Jakt[1] being developed in real time; I don't think it's a language that will be useful for production software any time soon, but on the other hand it's a language that actually produces binaries reliably (unlike pre-alpha Carbon or pre-release Zig, the latter exposing many problems after switching to a self-hosted compiler).

    [0]: https://www.stroustrup.com/tour3.html

    [1]: https://github.com/SerenityOS/jakt

  • The Zig programming language has been ported to SerenityOS
    1 project | news.ycombinator.com | 12 Dec 2022
  • Multiplayer counter strike like game without game engine - just php 8.1, fully open sourced
    6 projects | /r/PHP | 30 Nov 2022
    About php, I have no problem of rewriting whole game for performance reasons once it is done and popular in low level language like https://github.com/SerenityOS/jakt but I think for now php is good and sufficient.
  • ☘️ Good luck Rust ☘️
    2 projects | /r/rust | 16 Nov 2022
    Jakt, pretty well designed (lots of ideas stolen from ML/Rust), but very immature
  • SerenityOS author: "Rust is a neat language, but without inheritance and virtual dispatch, it's extremely cumbersome to build GUI applications"
    8 projects | /r/rust | 14 Nov 2022
    I think this thread might be interesting to the people here. The guy eventually started working on his own safe language, Jakt: https://github.com/SerenityOS/jakt

cats-effect

Posts with mentions or reviews of cats-effect. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-25.
  • A question about Http4s new major version
    3 projects | /r/scala | 25 Apr 2023
    Those benchmarks are using a snapshot version of cats-effect. I don't know where that one comes from, but previously they were using a snapshot from https://github.com/typelevel/cats-effect/pull/3332 which had some issues (3.5-6581dc4, 70% performance degradation), which have since been resolved (see that PR for more info and comparative benchmarks).
  • The Great Concurrency Smackdown: ZIO versus JDK by John A. De Goes
    3 projects | /r/scala | 18 Feb 2023
    Recently, CE3 has had similar issues reported across multiple repositories, almost an epidemic of reports!
  • 40x Faster! We rewrote our project with Rust!
    5 projects | /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.
  • Sequential application of a constructor?
    2 projects | /r/scala | 21 Jan 2023
    See also cats-effect and fs2. cats-effect gives you your IO Monad (and IOApp to run it with on supported platforms). fs2 is the ecosystem’s streaming library, which is much more pervasive in functional Scala than in Haskell. For example, http4s and Doobie are both based on fs2.
  • Should I Move From PHP to Node/Express?
    13 projects | /r/node | 13 Oct 2022
    On the contrary, switching to the functional mindset, with something like Typelevel Scala3 and respective cats and cats-effect fs2 frameworks, helps to rethink a lot of designs and development approaches.
  • 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).

    https://typelevel.org/cats-effect/

    https://zio.dev/

    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.

  • Typelevel Native
    1 project | /r/scala | 20 Sep 2022
    What took my interest is this (for both JVM and future multithreaded Scala native): https://github.com/typelevel/cats-effect/discussions/3070 Having the same threads poll available IO events and execute callbacks should improve performance greatly
  • Scala isn't fun anymore
    10 projects | /r/programming | 10 Sep 2022
    The author is the creator of Monix and implemented the first version of cats-effect. He knows what he is doing.
  • Question about some advanced types
    3 projects | /r/scala | 5 Sep 2022
    You want Kernmantle, which quite honestly shouldn't be hard to implement around Cats and cats-effect. In particular, although Kernmantle doesn't require the use of the Arrow typeclass, there happen to be Arrow (actually ArrowChoice) instances for both Function1 from the standard library and Kleisli from Cats itself, given a Monad instance for the Kleilsi's F[_] type parameter. In other words, we should be able to port Kernmantle from Haskell to Scala (with the Typelevel ecosystem) and instantly be able to use pretty much anything else from the Typelevel ecosystem, or wrapped with it, in our workflow graphs. Pure functions, monadic functions, applicative functions, GADTs with hand-written interpreters, any of it. I think this would be eminently worth doing.

What are some alternatives?

When comparing jakt and cats-effect you can also consider the following projects:

carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

FS2 - Compositional, streaming I/O library for Scala

Rust-for-Linux - Adding support for the Rust language to the Linux kernel.

fs2-grpc - gRPC implementation for FS2/cats-effect

hylo - The Hylo programming language

doobie-quill - Integration between Doobie and Quill libraries

ionide-vscode-fsharp - VS Code plugin for F# development

Kategory - Λrrow - Functional companion to Kotlin's Standard Library

cppfront - A personal experimental C++ Syntax 2 -> Syntax 1 compiler

Slick - Slick (Scala Language Integrated Connection Kit) is a modern database query and access library for Scala