|
12 | 12 | Reference](https://ziglang.org/documentation/master/),遇到语言的细节问题,基本都可以在这里找到答案。 |
13 | 13 | 其次是社区的一些高质量教程,例如: |
14 | 14 |
|
15 | | -[Zig Guide](https://zig.guide/) |
| 15 | +[Zig Guide](https://zig.guide/) |
16 | 16 | 英文资料, [Sobeston](https://github.com/Sobeston) 用户编写 |
17 | 17 |
|
18 | | -[Zig in 30 minutes](https://gist.github.com/ityonemo/769532c2017ed9143f3571e5ac104e50) |
| 18 | +[Zig in 30 minutes](https://gist.github.com/ityonemo/769532c2017ed9143f3571e5ac104e50) |
19 | 19 |
|
20 | | -[学习 Zig](https://ziglang.cc/learning-zig/) |
| 20 | +[学习 Zig](https://ziglang.cc/learning-zig/) |
21 | 21 | 该系列教程最初由 Karl Seguin |
22 | 22 | 编写,该教程行文流畅,讲述的脉络由浅入深,深入浅出,是入门 Zig |
23 | 23 | 非常不错的选择 |
24 | 24 |
|
25 | | -[Zig 语言圣经](https://course.ziglang.cc) |
| 25 | +[Zig 语言圣经](https://course.ziglang.cc) |
26 | 26 | 一份内容全面、深入浅出介绍 Zig 的教程 |
27 | 27 |
|
28 | | -[ziglings/exercises](https://codeberg.org/ziglings/exercises/) |
| 28 | +[ziglings/exercises](https://codeberg.org/ziglings/exercises/) |
29 | 29 | Learn the Zig programming language by fixing tiny broken programs. |
30 | 30 |
|
31 | | -[Zig Cookbook](https://cookbook.ziglang.cc/) |
| 31 | +[Zig Cookbook](https://cookbook.ziglang.cc/) |
32 | 32 | A collection of simple Zig programs that demonstrate good practices to |
33 | 33 | accomplish common programming tasks |
34 | 34 |
|
35 | | -[Awesome Zig](https://github.com/zigcc/awesome-zig) |
| 35 | +[Awesome Zig](https://github.com/zigcc/awesome-zig) |
36 | 36 | A collection of some awesome public Zig programming language projects. |
37 | | - |
38 | | -# 版本管理 |
39 | | - |
40 | | -推荐使用版本管理工具 |
41 | | -[asdf](file:///post/2023/10/14/zig-version-manager/) 来安装 |
42 | | -Zig,具体步骤: |
43 | | - |
44 | | -``` bash |
45 | | -git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0 |
46 | | -cat <<'EOF' >> $HOME/.bashrc |
47 | | -source "$HOME/.asdf/asdf.sh" |
48 | | -source "$HOME/.asdf/completions/asdf.bash" |
49 | | -EOF |
50 | | - |
51 | | -asdf plugin-add zig https://github.com/zigcc/asdf-zig.git |
52 | | - |
53 | | -# 安装最新版 |
54 | | -asdf install zig latest |
55 | | -asdf global zig latest |
56 | | -zig version |
57 | | -``` |
58 | | - |
0 commit comments