TGINSIGHT CHAT
QC 的小树林
@QC_Grove
科技Github: github.com/QuarticCat Blog: blog.quarticcat.com 分享 / 吐槽 / 存档 欢迎来附属群组聊天
最近帖子
第 2/27 页 · 共 314 条
发布 3月31日
A Fast Immutable Map in Go https://lemire.me/blog/2026/03/29/a-fast-immutable-map-in-go/
发布 3月30日
A Fast Immutable Map in Go https://lemire.me/blog/2026/03/29/a-fast-immutable-map-in-go/
发布 3月27日
https://chuanqixu9.github.io/c++/2026/03/27/C++20-Coroutines-from-compiler-and-library-authors-perspective.html
发布 3月19日
How many branches can your CPU predict? via Daniel Lemire's blog
发布 3月16日
学会了 spinlock 的正确写法,加一个 while (*xp == 1) 的内部 spin 原地提速 30%👍 --- a/bad.c +++ b/good.c @@ -34,8 +34,10 @@ static inline int read_once(const xchglock_t *p) static inline void xchg_lock(xchglock_t *xp) { - while (xchg(xp, 1) == 1) - ; + while…
发布 3月15日
https://github.com/NVlabs/cutile-rs
发布 3月13日
学会了 spinlock 的正确写法,加一个 while (*xp == 1) 的内部 spin 原地提速 30%👍 --- a/bad.c +++ b/good.c @@ -34,8 +34,10 @@ static inline int read_once(const xchglock_t *p) static inline void xchg_lock(xchglock_t *xp) { - while (xchg(xp, 1) == 1) - ; + while (xchg(xp, 1) == 1) { + while (read_once(xp) == 1) + ; + } } 原因是 cacheline bouncing,perf c2c 检查可知好版本的 HITM 只有坏版本的 1/5。太高级了。 ref: perfbook 7.3.1
发布 2月26日
抽时间把 Detypify 重构了一下,发了个版 符号更多了,准确率更高了,页面更丝滑了 @fxck_durov 做的新模型,前三个候选项的 acc 是 99% Typst 用户可以上 detypify.quarticcat.com 玩玩
发布 2月18日
TIL Telegram Desktop 有 Ctrl+[Shift]+Tab
发布 2月14日
Reussir is a programming language project centered on RC-based memory reuse analysis and region-based memory management. It brings MLIR into the functional programming world through a customized bufferization pipeline designed to efficiently optimize RC-managed objects. Examples and design documents are available at: https://reussir-lang.github.io/
发布 2月12日
https://github.com/rust-lang/rust/pull/151576
发布 2月12日
https://lostone.catme0w.org