Coerce

Languages and libraries

actor runtime library

SHOW HN2019

Coerce

Actor runtime for Rust using async/await and tokio channels

github.com

#rust#actor model#tokio#async await#distributed actors

155points
53comments
#262of 2,195 in 2019
Top 12%of 2019 by points

How HN took it

CuriousMostly questions and neutral comments

2 positive, 9 neutral or asking, 1 mixed, 2 critical, out of 14 comments about the project. Thread score +0.09.

Idea: 2 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Interesting small but powerful project that is close to what users want for actor programming in Rust

    From 1 comment
    • Read through the code just now.Thanks for the small but powerful project,I have tried to make something similar, but failed. The lib is very close to what I want to do…
      windor on HN
  • Actors avoid needing thread-safe state since they handle one message at a time

    From 1 comment
    • This is pretty cool. We ended up building our own version of something like this internally last year, but I could see us tossing our code in favour of this. The big advantage to…
      mmastrac on HN

Objections

  • Hiding the network layer can be problematic because networks are unreliable

    From 1 comment
    • Hiding the network layer is often problematic. Networks are much less reliable or predictable than a PCI or SATA bus. You have to honesty handle timeouts, unavailability, retries…
      nine_k on HN
  • The name Coerce implies force or violence

    From 1 comment
    • Coerce is often misused to imply encouragement or persuasion - but it specifically means to engage the efforts of others through violence or threat of violence. It's an ugly word.
      tunesmith on HN

Requests

  • Use protobufs, FlatBuffers or Cap'n Proto for serialization instead of serde_json

    From 2 comments
    • > though I do love the idea of using protobufs! or FlatBuffers!
      leeoniya on HN
    • Not sure on rust compatibility, but have you considered Cap’n Proto? https://capnproto.org/
      samcodes on HN
  • Allow actors to send messages to themselves

    From 1 comment
    • Read through the code just now.Thanks for the small but powerful project,I have tried to make something similar, but failed. The lib is very close to what I want to do…
      windor on HN
  • Show a Runtime setup in the readme example

    From 1 comment
    • I’m always excited to see people experimenting with different things. I wonder if the author could comment on how the goals of this project might differ from those of Actix? Many…
      bluejekyll on HN

Questions

  • How does it differ from Actix?

    From 1 comment
    • I’m always excited to see people experimenting with different things. I wonder if the author could comment on how the goals of this project might differ from those of Actix? Many…
      bluejekyll on HN
  • How will data serialization and compatibility across node versions work?

    From 1 comment
    • Ah. Cool. What are your plans around data serialization and compatibility of different nodes during version upgrade? And thanks for the answer!
      bluejekyll on HN

Alternatives named

  • Bastion

    From 1 comment
    • Worth to mention that Bastion has been developed a lot and it has its own design(in simple terms SMP based executor) to leverage asynchronous programming (with fault-tolerant…
      vertexclique on HN
  • Actix

    From 1 comment
    • I’m always excited to see people experimenting with different things. I wonder if the author could comment on how the goals of this project might differ from those of Actix? Many…
      bluejekyll on HN
  • Erlang runtime model

    From 1 comment
    • Worth to mention that Bastion has been developed a lot and it has its own design(in simple terms SMP based executor) to leverage asynchronous programming (with fault-tolerant…
      vertexclique on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/21796753)