TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Coproc Tutorial (2011)

26 pointsby 0x45696e6172over 1 year ago

1 comment

o11cover 1 year ago
I&#x27;ve never found a case where coproc actually solves a problem I&#x27;m facing.<p>Note that bash&#x27;s version is slightly different but pretty close. Also, bash supports `lastpipe` nowadays so you don&#x27;t have to use this as a workaround for that issue, and `&lt; &lt;()` is more often the useful thing for custom pipeline composability, and without suffering from the &quot;only one coprocess may exist&quot; limitation.
评论 #38837649 未加载
评论 #38837309 未加载
评论 #38835826 未加载