asyncmachine-go

non-blocking state machine for distrbuted workflows (by pancsta)

Asyncmachine-go Alternatives

Similar projects and alternatives to asyncmachine-go

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better asyncmachine-go alternative or higher similarity.

asyncmachine-go discussion

Log in or Post with

asyncmachine-go reviews and mentions

Posts with mentions or reviews of asyncmachine-go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-12.
  • Ergo: Erlang-inspired event driven actor framework in Go
    10 projects | news.ycombinator.com | 12 Sep 2024
    > you cannot send messages directly to a goroutine

    Goroutines communicate through channels, all you need is a queue (eg buffered chan).

    > you cannot terminate a goroutine from another goroutine

    Termination is propagated via context cancellation. go-A cancels ctx, go-B waits with `select`, reads from `<-ctx.Done()` and does a `return`, or checks it after each blocking call.

    > there are no "goroutine-local variables"

    Not sure if I got this one, but every var in a function's scope, which has been `go`-routined, would qualify.

    I'm currently working on a lib/framework somehow related to Ergo, but taking a more "generic" approach of a state machine[0]. It may solve some of the mentioned issues with Go, like addressing and queues for communication.

    You seem to be very attached to an idea of using the same goroutine for a long time, whereas it's usually more dynamic and only schedulers are long lived `go`-s.

    [0]: https://github.com/pancsta/asyncmachine-go

  • Show HN: Asyncmachine-go, declarative workflows with relations (state machine)
    1 project | news.ycombinator.com | 12 Jun 2024

Stats

Basic asyncmachine-go repo stats
2
72
9.2
about 1 month ago

pancsta/asyncmachine-go is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of asyncmachine-go is Go.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you konow that Go is
the 4th most popular programming language
based on number of metions?