3 ms·
I'm very interested in concurrency and new paradigms from a pragmatic perspective. Maybe it's because I'm practically minded, but I don't have the energy to par
by klabb3 2y ago
I'm very interested in concurrency and new paradigms from a pragmatic perspective. Maybe it's because I'm practically minded, but I don't have the energy to parse this type of content (and that's ok, not blaming anyone).
That said, I really, really appreciate when I can see a tangible piece of code that solves a real problem. In the case of concurrency, perhaps a hello world from an actor, ping pong, a chat room, cancellation, timeout or similar. Show something that's easy to do in this model, which is tedious to do in different models. (This shouldn't be hard to find, since concurrency is ridiculously easy to get wrong in most languages).
If a partial goal is to engage practicians, then code samples is very effective. I usually don't need the full theory to grok code even in a foreign paradigm. If I can get an initial sense and I like it, then I am infinitely more willing to read up on the theory. Now, unfortunately, you're missing out on one very curious, albeit lazy, reader.
For the record, the closest I could find was some pseudo-code[1]. If there's more please share!
[1]: https://synit.org/book/syndicated-actor-model.html https://synit.org/book/syndicated-actor-model.html
EDIT: I'm stupid, there are a couple of examples on the linked page if you scroll down. I wish there were more!
- sph 2y ago> I'm very interested in concurrency and new paradigms from a pragmatic perspective. Tell me about it. I also lack formal education, and a lot of advanced research into distributed communication models is basically expressed in alien languages to me, i.e. pi-calculus, rho-calculus, even Hewitt's research. It is both fun and a bit frustrating trying to figure out how they would work in practice from formal academic papers. This one has a lot of actual Racket code though, you might want to read the history section for some practical examples.
- metadaemon 2y agoI clicked around on Tony's site and found this listing of Syndicate related repositories: https://syndicate-lang.org/code/repos/ https://syndicate-lang.org/code/repos/
- deleted 2y ago[deleted]
- tonyg 2y agoI'm sorry about the state of the docs. I am slowly working on improving the situation. You might find the ~blog/journal part of the site interesting, wrt examples: https://syndicate-lang.org/journal/ https://syndicate-lang.org/journal/ -- still not exactly an embarrassment of riches, but it's something.