TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

CAF: C++ Actor Framework

104 点作者 anarchyrucks大约 5 年前

7 条评论

Mofu-chan大约 5 年前
I was bored so I added CAF to pkgsrc, which you can use to install CAF on NetBSD&#x2F;Linux&#x2F;macOS and a variety of other Unix-ey platforms that pkgsrc supports:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;NetBSD&#x2F;pkgsrc-wip&#x2F;tree&#x2F;master&#x2F;actor-framework" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;NetBSD&#x2F;pkgsrc-wip&#x2F;tree&#x2F;master&#x2F;actor-frame...</a><p><pre><code> git clone https:&#x2F;&#x2F;github.com&#x2F;NetBSD&#x2F;pkgsrc --depth 1 ~&#x2F;pkgsrc git clone https:&#x2F;&#x2F;github.com&#x2F;NetBSD&#x2F;pkgsrc-wip --depth 1 ~&#x2F;pkgsrc&#x2F;wip cd ~&#x2F;pkgsrc&#x2F;bootstrap .&#x2F;bootstrap --unprivileged cd ~&#x2F;pkgsrc&#x2F;wip&#x2F;actor-model ~&#x2F;pkg&#x2F;bin&#x2F;bmake install ~&#x2F;pkg&#x2F;sbin&#x2F;pkg_info -L actor-model </code></pre> That is all.
评论 #22460923 未加载
clarry大约 5 年前
&gt; Decoupling concurrently running software components via message passing avoids race conditions by design.<p>How am I supposed to read this? It&#x27;s obviously not &quot;message passing eliminates race conditions&quot;, so perhaps it&#x27;s intended to say something like &quot;you need to design the components to avoid race conditions.&quot;
评论 #22458682 未加载
Koshkin大约 5 年前
Honestly, the source code of the examples looks rather complicated, like something that should better be generated from a nicer high-level language that has a native actor concept. (Obviously, the power of C++ templates does not come for free - you pay with noisy code and increased cognitive load.)
评论 #22461924 未加载
评论 #22459934 未加载
评论 #22468184 未加载
评论 #22458944 未加载
zoomablemind大约 5 年前
In the Docs:Overview [0], the compile and build instructions are not showing up for some reason.<p>[0] <a href="https:&#x2F;&#x2F;actor-framework.readthedocs.io&#x2F;en&#x2F;latest&#x2F;Overview.html" rel="nofollow">https:&#x2F;&#x2F;actor-framework.readthedocs.io&#x2F;en&#x2F;latest&#x2F;Overview.ht...</a>
thedance大约 5 年前
&quot;Actor&quot; architecture is supposed to enable high developer productivity but it&#x27;s been a decade since the article so I wonder how it&#x27;s working out? The most prominent project of which I am aware is FoundationDB.
评论 #22461917 未加载
评论 #22459577 未加载
评论 #22460735 未加载
评论 #22459615 未加载
clarry大约 5 年前
If someone&#x27;s got a nice actor library written in and for C, I&#x27;m all hears.
评论 #22463808 未加载
nickysielicki大约 5 年前
The activity around C++20 has gotten to the point where I’m skeptical of great libraries like this because I don’t want to learn something third-party when I might be able to use STL equivalents in just a few hundred days.
评论 #22462272 未加载
评论 #22462247 未加载