Skip to content

Add post: 从 Rust 到 Zig,我写了一个小型 KV 数据库后,终于理解 Zig 到底'怪'在哪#114

Merged
jiacai2050 merged 3 commits intozigcc:mainfrom
lispking:main
Apr 2, 2026
Merged

Add post: 从 Rust 到 Zig,我写了一个小型 KV 数据库后,终于理解 Zig 到底'怪'在哪#114
jiacai2050 merged 3 commits intozigcc:mainfrom
lispking:main

Conversation

@lispking
Copy link
Copy Markdown
Contributor

@lispking lispking commented Apr 2, 2026

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new blog post comparing Rust and Zig through the implementation of a lightweight KV database. The reviewer identified a syntax error in the Markdown image declaration and suggested terminology refinements to ensure consistency, specifically standardizing the use of "底层" (low-level) when referring to programming and control mechanisms.

@jiacai2050 jiacai2050 requested a review from Copilot April 2, 2026 07:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new Chinese-language blog post sharing a hands-on comparison of Rust vs Zig via implementing a small embedded KV database (kvdb), along with a supporting hero image.

Changes:

  • Add a new post: “从 Rust 到 Zig,我写了一个小型 KV 数据库后,终于理解 Zig 到底“怪”在哪”
  • Add a new WebP image asset and reference it from the post

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
content/post/2026-04-02-zig-kvdb.smd New post content + frontmatter; embeds the new image via $image.siteAsset('images/rust-vs-zig.webp').
assets/images/rust-vs-zig.webp New image asset used by the post.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jiacai2050 jiacai2050 merged commit 733cd0e into zigcc:main Apr 2, 2026
7 checks passed
@jiacai2050
Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants