<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Go on pg999w&#39;s blog</title>
    <link>https://vpssg1.zyk999.top/tags/go/</link>
    <description>Recent content in Go on pg999w&#39;s blog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Thu, 24 Mar 2022 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://vpssg1.zyk999.top/tags/go/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Too many channels in Rust but only one in Go</title>
      <link>https://vpssg1.zyk999.top/post/too-many-channels/</link>
      <pubDate>Thu, 24 Mar 2022 00:00:00 +0000</pubDate>
      <guid>https://vpssg1.zyk999.top/post/too-many-channels/</guid>
      <description>&lt;p&gt;Channel 是异步编程 CSP 模型&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;和 Actor 模型的重要组成部分，是一种用于消息同步的数据结构。Go 语言中的 &lt;code&gt;chan&lt;/code&gt; 类型即是一种 channel 的实现。在使用 Rust 进行异步编程的时候也需要使用 channel。然而 Rust 中的 channel 似乎太多了。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
