1
1
#+TITLE: Zig 语言中文社区
2
2
#+DATE: 2022-07-20T12:42:38+0800
3
- #+LASTMOD: 2024-07-08T15:21:19 +0800
3
+ #+LASTMOD: 2024-07-14T10:08:59 +0800
4
4
5
5
{{< figure src="https://ziglang.cc/logo/zigcc-logo-2.svg" height="300px" >}}
6
6
7
- #+begin_quote
8
- Zig Chinese Community is dedicated to sharing and spreading the use of Zig language among Chinese users.
9
-
10
- [[https://ziglang.org/][Zig]] 语言中文社区(Zig Chinese Community,简称:ZigCC),致力于分享、传播 Zig 语言在中文用户内的使用。
11
-
12
- [[/post/2023/09/05/hello-world/][欢迎 Zig 爱好者向本网站供稿]]
13
- #+end_quote
14
-
15
-
16
7
#+BEGIN_EXPORT html
8
+ <center>
9
+ <p>欢迎来到 Zig 语言中文社区!(Zig Chinese Community,简称:ZigCC)</p>
17
10
<a href="https://discord.gg/UraRxD6WXD">
18
11
<img src="https://img.shields.io/discord/1155469703846834187?label=Chat at Discord" />
19
12
</a>
@@ -23,26 +16,56 @@ Zig Chinese Community is dedicated to sharing and spreading the use of Zig langu
23
16
<a href="https://ask.ziglang.cc/atom.xml">
24
17
<img src="https://img.shields.io/badge/rss-F88900.svg?style=flat&logo=RSS&logoColor=white&label=论坛" />
25
18
</a>
19
+ </center>
26
20
#+END_EXPORT
27
21
28
- * 联系方式
29
- - 微信公众号
30
- {{< figure src="https://github.com/zigcc/.github/raw/main/zig_mp.png" height="130" title="Zig 公众号二维码" >}}
31
- - 微信群:关注公众号获取
32
- - 邮件:[[mailto:hello@ziglang.cc][hello@ziglang.cc]]
33
- - https://discord.gg/UraRxD6WXD
22
+
23
+ 我们是一群对 Zig 编程语言充满热情的开发者、学习者和爱好者。我们致力于:
24
+ 1. 分享 Zig 相关的知识和经验
25
+ 2. 翻译 Zig 官方文档和重要资源
26
+ 3. 组织线上线下的学习活动和讨论
27
+ 4. 推广 Zig 语言在中文开发者中的应用
28
+
29
+ #+begin_quote
30
+ Zig Chinese Community is dedicated to sharing and spreading the use of Zig language among Chinese users.
31
+ #+end_quote
32
+
33
+ * 加入我们
34
+ 无论你是 Zig 专家还是初学者,我们都欢迎你的加入!可以通过以下方式参与社区:
35
+ - 加入我们的在线讨论群:[[https://github.com/orgs/zigcc/discussions/134][微信群]]、[[https://discord.gg/UraRxD6WXD][Discord]]、[[https://t.me/ZigChinese][Telegram]]
36
+ - 分享你的 Zig 项目和经验([[/post/2023/09/05/hello-world/][供稿方式]])。会在[[https://github.com/zigcc/.github/blob/main/zig_mp.png][微信公众号]]中同步。
37
+ - 参加我们组织的线上线下活动
38
+
39
+ 让我们一起探索 Zig 的魅力,推动 Zig 在中文开发者社区的发展!
40
+
41
+ 有任何疑问、建议,欢迎通过邮件与我们交流:[[mailto:hello@ziglang.cc][hello@ziglang.cc]]
34
42
* 学习资料
35
43
由于 Zig 目前还处于快速迭代,因此最权威的资料无疑是官方的 [[https://ziglang.org/documentation/master/][Zig Language Reference]],遇到语言的细节问题,基本都可以在这里找到答案。
36
44
其次是社区的一些高质量教程,例如:
45
+ - [[https://zig.guide/][Zig Guide]] :: 英文资料, [[https://github.com/Sobeston][Sobeston]] 用户编写
37
46
- [[https://ziglang.cc/learning-zig/][学习 Zig]] :: 该系列教程最初由 Karl Seguin 编写,该教程行文流畅,讲述的脉络由浅入深,深入浅出,是入门 Zig 非常不错的选择
38
47
- [[https://course.ziglang.cc][Zig 语言圣经]] :: 一份内容全面、深入浅出介绍 Zig 的教程
39
48
- [[https://codeberg.org/ziglings/exercises/][ziglings/exercises]] :: Learn the Zig programming language by fixing tiny broken programs.
40
49
- [[https://cookbook.ziglang.cc/][Zig Cookbook]] :: A collection of simple Zig programs that demonstrate good practices to accomplish common programming tasks
41
- - [[https://github.com/zigcc/awesome-zig][zigcc/awesome-zig]] :: A collection of some awesome public Zig programming language projects.
42
- - [[https://github.com/zigcc/zig-idioms][zigcc/zig-idioms]] :: Common idioms used in Zig
50
+ - [[https://github.com/zigcc/awesome-zig][Awesome Zig]] :: A collection of some awesome public Zig programming language projects.
51
+
52
+ 最后,推荐使用版本管理工具 [[/post/2023/10/14/zig-version-manager/][asdf]] 来安装 Zig,具体步骤:
53
+ #+begin_src bash
54
+ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
55
+ cat <<'EOF' >> $HOME/.bashrc
56
+ source "$HOME/.asdf/asdf.sh"
57
+ source "$HOME/.asdf/completions/asdf.bash"
58
+ EOF
59
+
60
+ asdf plugin-add zig https://github.com/zigcc/asdf-zig.git
43
61
44
- 推荐使用 asdf 来安装 Zig,具体可参考[[/post/2023/10/14/zig-version-manager/][这里]]。
62
+ # 安装最新版
63
+ asdf install zig latest
64
+ asdf global zig latest
65
+ zig version
66
+ #+end_src
45
67
* 更新日志
68
+ - 2024-07-14 :: 启用 Zig 社区微信 2 群
46
69
- 2024-03-29 :: 使用自定义域名 ziglang.cc
47
70
- 2022-12-10 :: 切换主题 [[https://github.com/zwbetz-gh/cupper-hugo-theme][cupper-hugo]] --> [[https://github.com/yihui/hugo-xmin][hugo-xmin]]
48
71
- 2022-07-20 :: 首次上线
0 commit comments