Sutter's ISO C++ Trip Report - The best compliment is when someone else steals your ideas....
Paolo Invernizzi
paolo.invernizzi at gmail.com
Thu Jul 19 12:51:29 UTC 2018
On Thursday, 19 July 2018 at 09:44:16 UTC, Steven Schveighoffer
wrote:
> On 7/18/18 1:58 AM, John Carter wrote:
> With web services, most of the time the shared state you want
> elsewhere anyway (to make it persistent), so it's a better fit
> for processes than most program domains.
Sharing a _complex_ state to thousand of users is the job for an
ACID database.
And that couples very well with separate processes.
If the shared state is trivial, there's a pletora of library that
abstract aways the fact that you are sending messages to a
process, thread, or corutine: well, it seems that was the goal of
std.concurrency, also! :-P
/Paolo
More information about the Digitalmars-d
mailing list