Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eao197
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
eao197
7y ago
I understand, but it isn't enough. You have to have a selective receive primitive to write something like: for(;;) { // The main state. receive( when([](M1 msg1){ // Dive into another state.
2.
▲
by
eao197
7y ago
> how can a message be 'lost' from a mailbox without any explicit 'read-message-from-mailbox' call from the actor itself. It depends on the implementation of actors. If an actor is represented as a thread/fiber t
3.
▲
by
eao197
7y ago
There are at least two corner cases in real-world usage of actors: * traceability of an application (or part of the application). For example, you send a message and don't see any reaction to it. Why? Was this message lost (sent nowher
4.
▲
by
eao197
7y ago
> once message delivery is guaranteed to be in-order and lossless, then for the above scenario the issue is 'obviously' on the sender side. It depends on how the receiver handles incoming messages: * there could be a scheme whe
5.
▲
by
eao197
7y ago
> Message passing definitely doesn't eliminate race conditions or deadlocks. You mention two very different problems. 1. Data race. It's a problem of mutation of some shared state. This problem is illuminated in the actor'
6.
▲
by
eao197
7y ago
> Honestly, the source code of the examples looks rather complicated There are several CAF alternatives with very different usages of C++ features: * QP/C++: https://www.state-machine.com/qpcpp/ * SObjectizer:
7.
▲
Rotor – Event loop friendly C++ actor micro-framework
(github.com)
2 points
by
eao197
7y ago
|
0 comments
8.
▲
Show HN: Just take look at SObjectizer if you want Actors or CSP in your C++ app
(habr.com)
1 points
by
eao197
7y ago
|
0 comments
9.
▲
“If your project is «Theatre» then use actors”: story for Actor Model and C++
(habr.com)
1 points
by
eao197
7y ago
|
0 comments
10.
▲
by
eao197
8y ago
There is a lightweight alternative that is built on top of standalone Asio (but Boost.Asio can also be used): https://github.com/Stiffstream/restinio
11.
▲
“Modern” Dining Philosophers in C++ with Actors and CSP
(eao197.blogspot.com)
2 points
by
eao197
8y ago
|
0 comments
12.
▲
[C++] SObjectizer-5.5.24 with experimental support for unit-testing of actors
(stiffstream.com)
2 points
by
eao197
8y ago
|
0 comments
13.
▲
by
eao197
8y ago
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 s
14.
▲
by
eao197
8y ago
This point: "CSP message-passing fundamentally involves a rendezvous between the processes involved in sending and receiving the message, i.e. the sender cannot transmit a message until the receiver is ready to accept it." it not
15.
▲
by
eao197
8y ago
> The fact that Beast allows you to go low level if required, is one if its strengths. Yes. But the key moment is "if required". With Beast you always have to initiate read and write operations. Just look at Vinnie Falco's
16.
▲
Beast-vs-RESTinio or is Boost.Beast really good for solving simple tasks?
(eao197.blogspot.com)
2 points
by
eao197
8y ago
|
2 comments
17.
▲
Show HN: Shrimp: serving images using C++17, Actors and embedded HTTP-server
(stiffstream.com)
1 points
by
eao197
8y ago
|
0 comments
18.
▲
[c++] Data exchange between threads without a pain? CSP-channels to rescue
(eao197.blogspot.com.by)
1 points
by
eao197
8y ago
|
0 comments
19.
▲
[c++] Async processing of incoming and outgoing HTTP-reqs with RESTinio+libcurl
(eao197.blogspot.com)
3 points
by
eao197
9y ago
|
0 comments
20.
▲
Show HN: [C++] SObjectizer-5.5.20
(sourceforge.net)
2 points
by
eao197
9y ago
|
0 comments
21.
▲
Show HN: Json_dto – a small but useful wrapper around RapidJSON (C++14)
(bitbucket.org)
1 points
by
eao197
9y ago
|
0 comments
22.
▲
by
eao197
9y ago
Thanks for the reference. I think it's a slightly late. We have already posted several announces here in last 2 years.
23.
▲
SObjectizer-5.5.19 is out
(sourceforge.net)
3 points
by
eao197
9y ago
|
3 comments
24.
▲
Actor Model and C++: what, why and how?
(slideshare.net)
1 points
by
eao197
10y ago
|
0 comments
25.
▲
SObjectizer-5.5.17: static lib mode and some mchain-related new features
(sourceforge.net)
2 points
by
eao197
10y ago
|
0 comments
26.
▲
[c++11] SObjectizer-5.5.16.1 with backport to GCC-4.8
(eao197.blogspot.com)
2 points
by
eao197
10y ago
|
0 comments
27.
▲
SObjectizer-5.5.16: new version with advanced features for message chains
(sourceforge.net)
1 points
by
eao197
10y ago
|
0 comments
28.
▲
Performance Comparison SObjectizer-5.5 vs. C++ Actor Framework-0.14.4
(sourceforge.net)
2 points
by
eao197
11y ago
|
0 comments
29.
▲
How Actor Model Can Be Used Inside Single Process C++ Applications
(sourceforge.net)
3 points
by
eao197
11y ago
|
0 comments
30.
▲
Invocation of several thread-safe event handlers for actor in parallel
(sourceforge.net)
2 points
by
eao197
11y ago
|
0 comments
More ›