This is a small update that introduces a few features and fixes some flaws:
so_drop_all_subscriptions_and_filters for agents;skip_demands_on_dereg (#96);empty_notificator for mchains;mchain_receive_result_t is now structured binging friendly (thanks to Marco Arena);so_5::stats::activity_stats_t structure.... read moreA new version of SObjectizer is available:
https://github.com/Stiffstream/sobjectizer/releases/tag/v.5.8.4
This is a maintenance release that adds a couple of small improvements and fixes. More details about this release can be found here:
https://github.com/Stiffstream/sobjectizer/wiki/v.5.8.4
There is no update for so5extra, the current version of so5extra should work fine with SO-5.8.4.
New versions of SObjectizer and so5extra are available:
https://github.com/Stiffstream/sobjectizer/releases/tag/v.5.8.3
https://github.com/Stiffstream/so5extra/releases/tag/v.1.6.2
The SObjectizer-5.8.3 introduces a couple of new features and fixes several issues. More information about this version can be found here:
https://github.com/Stiffstream/sobjectizer/wiki/v.5.8.3
The so5extra-1.6.2 introduces a new component that allows receiving messages of derived classes from a subscription to a base class. More information about this new feature can be found here:... read more
A new version of SObjectizer is available:
https://github.com/Stiffstream/sobjectizer/releases/tag/v.5.8.2
This release add a couple of new small features and fixes. More details about this release can be found here: https://github.com/Stiffstream/sobjectizer/wiki/v.5.8.2
There is no update for so5extra, the current version of so5extra should work fine with SO-5.8.2.
PS. The new version is already available via vcpkg.
New versions of SObjectizer and so5extra are available:
https://github.com/Stiffstream/sobjectizer/releases/tag/v.5.8.1
https://github.com/Stiffstream/so5extra/releases/tag/v.1.6.1
The SObjectizer-5.8.1 introduces a couple of new features and fixes several issues. More information about this version can be found here:
https://github.com/Stiffstream/sobjectizer/wiki/v.5.8.1
The so5extra-1.6.1 contains adaptation to SObjectizer-5.8.1. Please note that due to changes inside the SObjectizer Core the previous versions of so5extra may not work with v.5.8.1 properly. If you upgrade to SO-5.8.1 you have to upgrade to so5extra-1.6.1 too.... read more
New versions of SObjectizer and its companion project so5extra are available:
https://github.com/Stiffstream/sobjectizer/releases/tag/v.5.8.0
https://github.com/Stiffstream/so5extra/releases/tag/v.1.6.0
This is a major release of SObjectizer that breaks compatibility with previous 5.7 branch. The list of changes can be found in the project's Wiki:
https://github.com/Stiffstream/sobjectizer/wiki/v.5.8.0
https://github.com/Stiffstream/so5extra/wiki/v.1.6.0... read more
New versions of SObjectizer and its companion project so5extra are available:
https://github.com/Stiffstream/sobjectizer/releases/tag/v.5.7.4
https://github.com/Stiffstream/so5extra/releases/tag/v.1.5.1
There are just two new minor features, but I like that we found time and resources to implement them.
It means that SObjectizer is still alive and evolving. After 20 years of evolution.
Yes, the very first working version of SObjectizer (it was SO-4.0) was created in April 2002. And it was used in an actual project just after that, in May 2002.... read more
New versions of SObjectizer and its companion project so5extra are available:
https://github.com/Stiffstream/sobjectizer/releases/tag/v.5.7.3
https://github.com/Stiffstream/so5extra/releases/tag/v.1.5.0
There are not many new features, but those that were added are consequences of our experience and asks from users. For example:
std::thread. It allows using of custom threads with standard SObjectizer dispatchers. More information can be found here.so_5::agent_t::so_deactivate_agent() that switches an agent to a special state and drops all agent's subscriptions. It can be useful when it's necessary to deactivate some agent after an error until the agent's cooperation will be deregistered;The Actor Model is one of the time-proven approaches for simplification of multithreading programming. But if one wants to find real-world examples of using the Actor Model in C++, it could be a rather complex task.
We have known that very well because we maintain one of the C++ actor frameworks but have almost no chances to show the real use cases because most of the uses of our tool are in proprietary closed-source projects.... read more
We did several talks about SObjectizer in Belarus and Russia in the past. But all of them were in Russian.
A couple of days ago the first talk about SObjectizer was made on Italian C++ Community virtual meetup. This is our first SObjectizer-related talk in English and now it's available on YouTube, the slides can be found here.... read more
The first commit of SObjectizer-5 project was made in Oct 2010. Soon after that SObjectizer-5 started working and we consider the end of 2010 as a SObjectizer-5's date of birth. And now, at the end of 2020 we can celebrate the 10th anniversary of SObjectizer-5.
Note. If you didn't hear about SObjectizer earlier then this overview can give you some insight about the project itself and niches where it was or can be used.... read more
SObjectizer-5.7.1 introduces a couple of new features and also contains a few fixes.
One of the new features is default (or generic) message limits:
```cpp
class demo final : public so_5::agent_t
{
public:
demo(context_t ctx)
: so_5::agent_t{ctx
+ limit_then_drop<msg_A>(100u)
+ limit_then_abort<msg_B>(10u)
// That limit will be used for all other messages.
+ limit_then_drop<any_unspecified_message>(50u)
}
{}... read more
New versions of SObjectizer and its companion project so5extra are released.
TL;DR:
send_case in select() function. It makes SObjectizer's select() much more similar to Golang's select statement. But it breaks the compatibility with v.5.6 because old case_ function is now renamed to receive_case;transfer_to_state() and suppress() functionality;A small update for SObjectizer-5.6 and a big shift in the further SObjectizer's development: since Aug 2019 the development of SObjectizer moved to GitHub. New versions of SObjectizer will be developed on GitHub, SourceForge will be used as a mirror for tarballs.
The actual project's Wiki is now also on GitHub.... read more
Yet another "actor framework" is available for C++ developers: "rotor". The main rotor's goal is to reuse existing event-loop implementations (like event-loops inside wxWidgets or Boost.Asio). And I like to mention that rotor-framework was inspired by SObjectizer.
The project lives on GitHub: https://github.com/basiliscos/cpp-rotor
And it's documentation is available here: https://basiliscos.github.io/cpp-rotor-docs/index.html
What if you already have actors and want to build data-processing pipeline on top of them (e.g., building something similar to reactive- or data-flow programming)? Someting like:
validate | convert | archive | distribute
It could be rather easy, and C++ templates can help to catch some errors at compile-time.
There is a new article about an experiment of building such pipeline DSL on the top of SObjectizer and so5extra: A declarative data-processing pipeline on top of actors? Why not?
We've added some new sections in SObjectizer-5.6 docs in the project's Wiki (bitbucket.org):
New versions of SObjectizer and its companion project, so5extra, are available now.
The SObjectizer-5.5 branch has been in the development since 2014. We supported compatibility between versions in 5.5-branch on a very high level. In most cases, a simple recompilation was necessary during switching from an old SObjectizer-5.5 version to a new one.
In more than four years of evolution, 5.5-branch incorporated a lot of new features, most of those were not planned from the beginning. That has a negative impact on SObjectizer's code complexity and the price of further development. We also were oriented on compilers with limited support of C++11, but it isn't actual anymore.... read more
We know that SObjectizer is used in various projects outside our small company. But most of SObjectizer's customers just use it and do not provide any publicly available information about SObjectizer's usage. That is why we are so excited to see a big article from a developer of an automated control system for ruling a theatre's scenery: If your project is «Theatre» then use actors... read more
We're glad to announce the availability of the first beta-versions of SObjectizer-5.6 and so5extra-1.3!
It's the result of several months of deep refactoring and modernization of SObjectizer Core and companion so5extra project. There are still more to do like additional testing on some platforms and compilers. Also, yet more work to do with the adaptation of the documentation for the new versions. But we hope that the final release of new SObjectizer will be somewhere in the mid of May 2019.... read more
According to the preliminary plan the first beta-version of v.5.6.0 was expected at the end of March 2019. It is obvious now that it won't happen. Because of that, there is a sense to speak about what was done and what has to be done.
There are the changes which already implemented in SObjectizer-5.6:
The development of next major version of SObjectizer was started several days ago. The motivation and goals of v.5.6 were described here (in Russian here).
Now the development is performed in a private Mercurial repository on BitBucket. When all breaking changes will be done a beta version of SObjectizer-5.6 will be published somewhere. We think that the main repo will be Mercurial repository on BitBucket with an official mirror on GitHub. It's hard to say when it happen but we hope that we can publish the first publicity available beta version at the end of February or at the beginning of March 2019.... read more
Some time ago Lucian Radu Teodorescu published an interesting article "Modern dining philosophers" where several solution of that famous problem were shown. Those solutions use task-based approach.
One of SObjectizer's maintainers wrote a follow-up to that article in two parts:
It seems that lifetime of SObjectizer-5.5 is going to the end. We plan to start the development of "the next big" version of SObjectizer in a week or so. There is something like roadmap: On the road to SObjectizer-5.6 (sourceforge.net) with our motivation, goals and most obvious first steps explained. There are also some open questions for those we have to answers yet.... read more
SObjectizer has been updated to version 5.5.24 and so_5_extra has been updated to version 1.2.2.
The main new feature of SObjectizer-5.5.24 is an experimental support of unit-testing of agents.
The checking of agents' correctness was a hard question for a long time. There was no help from SObjectizer and every developer had to find the answer by him/herself. But starting from v.5.5.24 SObjectizer contains tools those allows to write unit-tests for agents.... read more