Hacker News new | past | comments | ask | show | jobs | submit login

I must be the only person who thought this was about the gem using Actor pattern. Great write-up. I really appreciated it as concurrency was something I've been looking into and was about to start toying with the Celluloid gem. This was a really good, clear example with useful code. Thanks!

Of course, adding the word "gem" to the title might indeed help. Now, an article on creating the material celluloid would indeed be awesome... volunteers?




I'm really glad to see more folks discussing Celluloid and actor-model based concurrency in Ruby, too!

If you liked this article, you may also enjoy "A gentle introduction to actor-based concurrency"(*), which shows how to solve the dining philosopher's problem using Ruby threading primitives, celluloid, and a made-from-scratch actor model similar to what is shown in this article:

https://practicingruby.com/articles/shared/plgjjonrkggl

Disclaimer: I am the editor for practicingruby.com, and this is one of our contributed articles (from Alberto Fernandez-Capel).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: