An Open Source Implementation of the actor model in C++.
Is libcppa support visual studio 2012's compiler now?
It's really the other way around. MSVC still has no sufficient C++11 support...
I'm interested in MSVC too. Actually there is an customer technology preview (http://blogs.msdn.com/b/vcblog/archive/2012/11/02/visual-c-c-11-and-the-future-of-c.aspx) which contains variadic templates and more c++11 features.
Thanks for the link. I've installed the latest visual studio and the preview, but Microsoft still doesn't support unrestricted unions... A feature GCC has for several years now.
fantastic! i am trying libcppa in my own project.
Hi, i have only use the event_based_actor in my program, my cpu is i7-2600(8 cores), i wanna how many threads will be created by cppa? and can i control the thread count created for driving actors?
Per default, libcppa's scheduler uses one thread for each core. You can adjust this number by calling "set_default_scheduler(x)", where x is the number of threads you want to be used.Note that you have to call this function once, before spawning any actor. It cannot be used to re-configure a running scheduler.
There is a preview of Visual Studio 2013 out:http://www.microsoft.com/visualstudio/eng/2013-previewIt claims support for delegating constructors, raw string literals, explicit conversion operators, and variadic templates. I'm not sure about other C++11 features. I tried a quick compile of the test program, but I ran out of talent at some of the more advanced warnings/errors.As much as I'd love to use libcppa, it's not going to happen where I work until it compiles under VC++, sadly.
Still no unrestricted unions. *sigh*I guess you'll have to wait even longer until Microsoft will catch up with basic features open source compilers such as GCC and Clang offer for several years now.