Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/monthly/202303.smd
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Nix](https://flyx.org/cross-packaging/)
[macovedj/doink](https://github.com/macovedj/doink)
Making WebAssembly Components with Zig

[craftlinks/zig<sub>learnopengl</sub>](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

Expand Down
4 changes: 2 additions & 2 deletions content/monthly/202307.smd
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ IR,Zig 生成的 IR 更加精简
公司的官博,它们公司的产品时边缘数据库,自动同步 PG 的表到 Edge
端,减少访问的时延。在这篇文章里他们介绍了使用 Zig 编写 PostgreSQL
插件的经历,得益于 `translate-c` ,他们可以直接从已有的 C
代码开始构建他们的产品。插件地址:[pg<sub>turso</sub>](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

[AndreaOrru/zen](https://github.com/AndreaOrru/zen)
Experimental operating system written in Zig

[EugenHotaj/zig<sub>gpt2</sub>](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)
14 changes: 7 additions & 7 deletions content/monthly/202310.smd
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ pub fn main() !void {
}
```

[io<sub>uring</sub> basics: Writing a file to disk](https://notes.eatonphil.com/2023-10-19-write-file-to-disk-with-io_uring.html)
作者演示了 io<sub>uring</sub> 在 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 | avg<sub>time</sub> | avg<sub>throughput</sub> |
| method | avg_time | avg_throughput |
|------------------------------|----------------------|--------------------------|
| iouring<sub>128entries</sub> | 0.2756831357s | 3.8GB/s |
| iouring<sub>1entries</sub> | 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/)
Expand All @@ -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/related<sub>postgen</sub>](https://github.com/jinyus/related_post_gen)
[jinyus/related_post_gen](https://github.com/jinyus/related_post_gen)
一个对常见语言进行压测的项目,项目里面有几种纯 CPU
的操作,看看哪个语言最快。

[nolanderc/glsl<sub>analyzer</sub>](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)

Expand Down
2 changes: 1 addition & 1 deletion content/monthly/202403.smd
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ test.zig:4:23: error: reached unreachable code
编译就会报错,去掉上面的 if
代码块后,测试就可以正常执行。一个实际的例子:

- [std.hash<sub>map</sub>: 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)

Expand Down