2025 年 5-8 月我读了什么#

DeepWiki | AI documentation you can talk to, for every repo#

We Rewrote the Ghostty GTK Application – Mitchell Hashimoto#

Ghostty 完成了对其 GTK 前端的重写:

  1. 相比于之前在忽略 GObject 引用计数的实现,现在项目能够和 GTK/GObject 系统更好的交互,能够享受到 GTK 的生态

  2. 作者还使用 Valgrind 对项目进行了内存安全测试,大部分的内存安全问题出现在和 C 代码交互的边界,而 Zig 本身的问题远比作者想象中的少(项目本身用了大量的 hack 以保证性能)。这说明 Zig 本身提供的内存安全保障相当有效,尽管它只在 debug/test 期间发挥作用。

The future of large files in Git is Git - Tyler Cipriani#

Git 官方对 Large File Storage 的重新思考。

  1. Git partial clone

  2. Git Large Object Promisor,未正式发布。 大致流程:

    1. You push a large file to your Git host.

    2. In the background, your Git host offloads that large file to a large object promisor.

    3. When you clone, the Git host tells your Git client about the promisor.

    4. Your client will clone from the Git host, and automagically nab large files from the promisor remote.

    大致是 server 端的实现,client 端比较透明