<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>FFI :: 标签 :: yafeng 的博客</title><link>http://yafengabc.github.io/tags/ffi/index.html</link><description/><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 20 Sep 2026 05:16:34 +0800</lastBuildDate><atom:link href="http://yafengabc.github.io/tags/ffi/index.xml" rel="self" type="application/rss+xml"/><item><title>Go vs Nim 性能实测（二）：大数运算与 GMP 四端</title><link>http://yafengabc.github.io/programming-misc/go-vs-nim-bigint/index.html</link><pubDate>Sat, 19 Sep 2026 12:35:00 +0800</pubDate><guid>http://yafengabc.github.io/programming-misc/go-vs-nim-bigint/index.html</guid><description>Go math/big 四项全胜、Nim 生态库最多落后 210 倍、自研 Karatsuba/Toom-3 库把乘法类提升一个数量级；GMP 四端对比显示 Nim FFI 开销≈0 而 cgo 在小调用场景慢 45%；百万位 π 拆解发现 math/big 输在除法与开方。</description></item></channel></rss>