<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Windows on YPLAM</title>
    <link>https://yplam.com/tags/windows/</link>
    <description>Recent content in Windows on YPLAM</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Thu, 05 Mar 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://yplam.com/tags/windows/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building a Sub-Millisecond Async Serial Port Library in Rust</title>
      <link>https://yplam.com/posts/rust/rust-high-performance-serialport/</link>
      <pubDate>Thu, 05 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://yplam.com/posts/rust/rust-high-performance-serialport/</guid>
      <description>&lt;p&gt;Most serial port libraries in Rust are synchronous and blocking — fine for scripts, but not for a real-time system where you need to read and react to serial data with sub-millisecond latency. This post walks through how &lt;a href=&#34;https://github.com/cycbox/cycbox-serialport&#34;&gt;&lt;code&gt;cycbox-serialport&lt;/code&gt;&lt;/a&gt; wraps a patched fork of &lt;a href=&#34;https://github.com/serialport/serialport-rs&#34;&gt;&lt;code&gt;serialport-rs&lt;/code&gt;&lt;/a&gt; to expose a proper &lt;code&gt;tokio::io::AsyncRead&lt;/code&gt; / &lt;code&gt;AsyncWrite&lt;/code&gt; interface, with platform-native async I/O on both POSIX and Windows.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
