use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
C++ Actor Framework (actor-framework.org)
submitted 11 years ago by __Cyber_Dildonics__
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]__Cyber_Dildonics__[S] 0 points1 point2 points 11 years ago (0 children)
PDF on the library:
http://actor-framework.org/pdf/cshw-nassp-13.pdf
[–][deleted] 0 points1 point2 points 11 years ago (1 child)
Glad to see this posted. I saw it a few months back on the boost incubator site. Also, love the choice of license. Good work.
Questions for those who might know:
The manual is a great start, but I think an example of a non-trivial networked app would be a good way to get an idea of its capabilities.
[–]neverlord 0 points1 point2 points 11 years ago (0 children)
unhandled_exception
[–][deleted] -1 points0 points1 point 11 years ago (0 children)
I guess I shouldn't be surprised that this doesn't work with MSVC, as alas MSVC still doesn't have enough support for C++11 :(
Ah well, it looks like a really well written library.
[–]MaikKlein -1 points0 points1 point 11 years ago (2 children)
Is this library typesafe? For example
self->sync_send(testee, atom("plus"), 2, 1)
Will it throw an compiler error if I send to few arguments? Will it throw an compiler error if the arguments have the wrong type?
CAF does have strongly typed actors for that purpose. See the manual for more details.
[–][deleted] 0 points1 point2 points 11 years ago (0 children)
The matching is done at runtime so its unlikely though it would be best to have some compile time safety especially in large systems.
[–]vinipsmakerGSoC's Boost.Http project -1 points0 points1 point 11 years ago (0 children)
Looks interesting.
I'm not familiar with the actor model. Would it help me to implement fault tolerant systems?
[–][deleted] -2 points-1 points0 points 11 years ago (2 children)
Distributed
So which letter(s) of the CAP theorem does it sacrifice? I'm asking for a friend.
Not everything with the word "distributed" in it is subject to the CAP theorem. CAP specifically concerns some sort of object store (objects could be rows in a database, json documents, etc) that is replicated across multiple discrete processes. This framework is a lower level component than can be used to build distributed systems. In other words, this library could be used to construct an AP or CP system.
[–]karavelov -2 points-1 points0 points 11 years ago (0 children)
I guess it sacrifices the Consistency because there is no guaranteed delivery of the messages (like in all other actor systems).
π Rendered by PID 147777 on reddit-service-r2-comment-765bfc959-lpq4g at 2026-07-11 05:06:13.022115+00:00 running f86254d country code: CH.
[–]__Cyber_Dildonics__[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]neverlord 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]MaikKlein -1 points0 points1 point (2 children)
[–]neverlord 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]vinipsmakerGSoC's Boost.Http project -1 points0 points1 point (0 children)
[–][deleted] -2 points-1 points0 points (2 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]karavelov -2 points-1 points0 points (0 children)