Re:Revisiting Actor Programming in C++ (2015)
by brobdingnagians on Monday November 19, 2018 @08:36AM
(#18486275)
I've looked into CAF, but haven't used it yet, is anyone using it successfully in a production environment? And what is the comparison with Erlang? My impression is that Erlang has better error handling capabilities, but CAF should be a bit faster, but was curious about a comparison from someone more knowledgeable.
[ Parent
| on HN ]
Re:Revisiting Actor Programming in C++ (2015)
by eao197 on Monday November 19, 2018 @09:05AM
(#18486439)
JIF: there is more than just CAF in C++ land [1]
There are at least QP/C++ [2] and SObjectizer [3].
All three frameworks are used in production, especially QP/C++.
Error handling in C++ actor frameworks is a different topic than such handling in Erlang or other safe language. Because if you do something like division by 0 or deference of null pointer in your C++ actor you will have a different result: in the best case the whole your application will crush, not just one actor.
[1] https://www.slideshare.net/YauheniAkhotnikau/actor-model-and... [2] https://www.state-machine.com/qpcpp/ [3] https://stiffstream.com/en/products/sobjectizer.html
Re:Revisiting Actor Programming in C++ (2015)
by brobdingnagians on Tuesday November 20, 2018 @03:20PM
(#18497338)
Thanks! Those are good resources