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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Master Concurrent Processes with core.async

131 点作者 swannodette超过 10 年前

6 条评论

dharbin超过 10 年前
Just one caveat to the use of core.async as a processing pipeline (as in section 6: Callbacks), make sure you&#x27;re taking extra care to handle exceptions. Since the exception occurs in a separate thread, it will happen silently and will cause your pipeline to stall.<p>Some recommended reading for how to handle such a scenario:<p><a href="http://martintrojer.github.io/clojure/2014/03/09/working-with-coreasync-exceptions-in-go-blocks/" rel="nofollow">http:&#x2F;&#x2F;martintrojer.github.io&#x2F;clojure&#x2F;2014&#x2F;03&#x2F;09&#x2F;working-wit...</a><p><a href="https://github.com/zachallaun/async-pipeline" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;zachallaun&#x2F;async-pipeline</a><p><a href="https://github.com/ztellman/manifold" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ztellman&#x2F;manifold</a>
评论 #8863102 未加载
评论 #8862709 未加载
评论 #8863180 未加载
pilif超过 10 年前
I absolutely love @nonrecursive&#x27;s writing style. This is one of those books that are a pleasure to read and as such it&#x27;s very easy to learn (and keep) the information given.<p>Once this is out in dead-tree form I will definitely get a copy or three (there are geeks around me who will enjoy it too).<p>This isn&#x27;t just a very good introduction into Clojure. This is a real piece of art.
评论 #8866998 未加载
alexatkeplar超过 10 年前
Good timing - I&#x27;m halfway through the core.async chapter in Seven Concurrency Models in Seven Weeks, which is well worth a read too...
评论 #8863077 未加载
hardwaresofton超过 10 年前
If you&#x27;re trying to learn clojure, read this book. Maybe even first.<p>Agree with what others have said, Clojure for the Brave and True is a fantastic book, was excited when I got the leanpub email this morning alerting me to a new chapter.
StavrosK超过 10 年前
I tried to follow this (as a Clojure newb) and got stuck on the second code segment. Apparently nothing can find a &quot;chan&quot; function...
评论 #8866997 未加载
jdimov超过 10 年前
Or just use Elixir.