diff --git a/content/monthly/202303.smd b/content/monthly/202303.smd index 845840f..05a3771 100644 --- a/content/monthly/202303.smd +++ b/content/monthly/202303.smd @@ -66,7 +66,7 @@ Nix](https://flyx.org/cross-packaging/) [macovedj/doink](https://github.com/macovedj/doink) Making WebAssembly Components with Zig -[craftlinks/ziglearnopengl](https://github.com/craftlinks/zig_learn_opengl) +[craftlinks/zig_learn_opengl](https://github.com/craftlinks/zig_learn_opengl) Follow the Learn-OpenGL book using Zig diff --git a/content/monthly/202307.smd b/content/monthly/202307.smd index cf8ac52..39f898e 100644 --- a/content/monthly/202307.smd +++ b/content/monthly/202307.smd @@ -136,7 +136,7 @@ IR,Zig 生成的 IR 更加精简 公司的官博,它们公司的产品时边缘数据库,自动同步 PG 的表到 Edge 端,减少访问的时延。在这篇文章里他们介绍了使用 Zig 编写 PostgreSQL 插件的经历,得益于 `translate-c` ,他们可以直接从已有的 C -代码开始构建他们的产品。插件地址:[pgturso](https://github.com/turso-extended/pg_turso) +代码开始构建他们的产品。插件地址:[pg_turso](https://github.com/turso-extended/pg_turso) [tensorush/meduza](https://github.com/tensorush/meduza) 🦎 🧜‍♀️ Zig codebase graph generator that emits a Mermaid class diagram @@ -144,7 +144,7 @@ IR,Zig 生成的 IR 更加精简 [AndreaOrru/zen](https://github.com/AndreaOrru/zen) Experimental operating system written in Zig -[EugenHotaj/ziggpt2](https://github.com/EugenHotaj/zig_gpt2) +[EugenHotaj/zig_gpt2](https://github.com/EugenHotaj/zig_gpt2) GPT-2 inference engine written in Zig # [Zig 语言更新](https://github.com/ziglang/zig/pulls?page=1&q=+is%3Aclosed+is%3Apr+closed%3A2023-06-01..2023-07-01) diff --git a/content/monthly/202310.smd b/content/monthly/202310.smd index b9b30af..0bafef5 100644 --- a/content/monthly/202310.smd +++ b/content/monthly/202310.smd @@ -78,14 +78,14 @@ pub fn main() !void { } ``` -[iouring basics: Writing a file to disk](https://notes.eatonphil.com/2023-10-19-write-file-to-disk-with-io_uring.html) -作者演示了 iouring 在 Go 与 Zig +[io_uring basics: Writing a file to disk](https://notes.eatonphil.com/2023-10-19-write-file-to-disk-with-io_uring.html) +作者演示了 io_uring 在 Go 与 Zig 中的基本使用,下面表格是一些测试数据 -| method | avgtime | avgthroughput | +| method | avg_time | avg_throughput | |------------------------------|----------------------|--------------------------| -| iouring128entries | 0.2756831357s | 3.8GB/s | -| iouring1entries | 0.27575404880000004s | 3.8GB/s | +| iouring_128_entries | 0.2756831357s | 3.8GB/s | +| iouring_1_entries | 0.27575404880000004s | 3.8GB/s | | blocking | 0.2833337046s | 3.7GB/s | [Zig is now also a Windows resource compiler](https://www.ryanliptak.com/blog/zig-is-a-windows-resource-compiler/) @@ -107,11 +107,11 @@ Pixel Bender to Zig code translator [zigar](https://github.com/chung-leong/zigar) Enable the use of Zig code in JavaScript project -[jinyus/relatedpostgen](https://github.com/jinyus/related_post_gen) +[jinyus/related_post_gen](https://github.com/jinyus/related_post_gen) 一个对常见语言进行压测的项目,项目里面有几种纯 CPU 的操作,看看哪个语言最快。 -[nolanderc/glslanalyzer](https://github.com/nolanderc/glsl_analyzer) +[nolanderc/glsl_analyzer](https://github.com/nolanderc/glsl_analyzer) Language server for GLSL (autocomplete, goto-definition, formatter, and more) diff --git a/content/monthly/202403.smd b/content/monthly/202403.smd index 0114028..4049567 100644 --- a/content/monthly/202403.smd +++ b/content/monthly/202403.smd @@ -185,7 +185,7 @@ test.zig:4:23: error: reached unreachable code 编译就会报错,去掉上面的 if 代码块后,测试就可以正常执行。一个实际的例子: -- [std.hashmap: fix pointer lock safety false positive by +- [std.hash_map: fix pointer lock safety false positive by andrewrk · Pull Request \#19364 · ziglang/zig](https://github.com/ziglang/zig/pull/19364/files)