<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C on A Moment's Rest</title><link>https://a-moment096.github.io/zh/tags/c/</link><description>Recent content in C on A Moment's Rest</description><generator>Hugo -- gohugo.io</generator><language>zh</language><lastBuildDate>Fri, 26 Jun 2026 15:20:58 +0000</lastBuildDate><atom:link href="https://a-moment096.github.io/zh/tags/c/index.xml" rel="self" type="application/rss+xml"/><item><title>相场模拟，但是用很多语言 IV</title><link>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_4/</link><pubDate>Mon, 22 Jun 2026 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_4/</guid><description>&lt;img src="https://a-moment096.github.io/images/Alice-2.png" alt="Featured image of post 相场模拟，但是用很多语言 IV" /&gt;&lt;p&gt;&lt;em&gt;谈到编程，稍早一些的时候大家几乎都会提到 C 语言。本期我们就来试试之前番外中使用过的 C 语言吧！用它来跑调幅分解看看~&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;为保持系列的统一，头图我们依旧选择了上期出现的，由 &lt;a class="link" href="https://x.com/Neve_AI" target="_blank" rel="noopener"
 &gt;Neve_AI&lt;/a&gt; 绘制的 AI 爱丽丝。选曲则是最近（……）&lt;a class="link" href="https://space.bilibili.com/400813602/" target="_blank" rel="noopener"
 &gt;Ayase&lt;/a&gt; 上传到 B 站的 &lt;a class="link" href="https://www.bilibili.com/list/ml1197098078" target="_blank" rel="noopener"
 &gt;シネマ(CINEMA)&lt;/a&gt;，由初音未来献唱。很有 Ayase 味道的一首歌，也算是一代神曲了，希望您能喜欢~&lt;/em&gt;&lt;/p&gt;</description></item><item><title>相场模拟，但是用很多语言——番外</title><link>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_fourier/</link><pubDate>Sat, 30 May 2026 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_fourier/</guid><description>&lt;img src="https://a-moment096.github.io/images/Alice-2.png" alt="Featured image of post 相场模拟，但是用很多语言——番外" /&gt;&lt;p&gt;&lt;em&gt;前几篇博文中，我们都使用了有限差分法来离散网格并计算 Cahn-Hilliard 方程的结果。这样的写法确实简单有效，但是问题是就没有别的更好的方法了吗？有的，兄弟！有的！那就是今天要向各位介绍的 &lt;strong&gt;傅里叶谱法&lt;/strong&gt;。在这个方法下，我们不需要再可怜兮兮地做网格差分了，而是从另一个神秘空间：&lt;strong&gt;谱空间&lt;/strong&gt; 去求解。本篇就以番外的形式，聊聊这个神奇的方法，关于它的数学原理，使用事项，以及实现时需要注意的若干细节。&lt;/em&gt;&lt;/p&gt;</description></item><item><title>如何解析 C/C++（比较）复杂的类型？</title><link>https://a-moment096.github.io/zh/posts/cpp_note/simple_type_parsing/</link><pubDate>Thu, 15 Jan 2026 19:35:50 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/cpp_note/simple_type_parsing/</guid><description>&lt;img src="https://a-moment096.github.io/images/Science.png" alt="Featured image of post 如何解析 C/C++（比较）复杂的类型？" /&gt;&lt;p&gt;&lt;em&gt;从可爱群友 &lt;a class="link" href="https://mahiro.ink/" target="_blank" rel="noopener"
 &gt;@0xa7973908&lt;/a&gt;的&lt;a class="link" href="https://mahiro.ink/archives/homework" target="_blank" rel="noopener"
 &gt;博客&lt;/a&gt;里了解到了数组指针和指针数组的类型区别，但是这种单纯的记号真的很难背，背后的逻辑究竟是什么样的呢？探究一下吧~&lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>