Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zig: QuickStart #363

Open
Tracked by #374 ...
hhstore opened this issue Jun 16, 2022 · 8 comments
Open
Tracked by #374 ...

Zig: QuickStart #363

hhstore opened this issue Jun 16, 2022 · 8 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Jun 16, 2022

related:

Zig 教程:

Zig 学习代码:

Zig 技术群:

  • ✅ #309
@hhstore
Copy link
Owner Author

hhstore commented Jun 16, 2022

Zig 速成:

Zig 先导篇:

Zig 杀手级特性:

  • ✅ 极佳的 C 互操作性(目前可能是第一, 比 rust 还要简单/易用)
  • ✅ Zig CC: 非常强大的工具链. 替代 GCC/Clang.
  • ✅ 泛型: 很简洁的泛型.
  • ✅ 语法简单 + 完备: a better C.
    • 没有宏+元编程(rust), 但依然强大.

image

Zig 示例速览:

@hhstore
Copy link
Owner Author

hhstore commented Jun 16, 2022

Zig 快速掌握:

zig 设计理念:

搭建开发环境:

语法关键词:

zig 构建系统:

Zig 教程:

Zig 语法进阶:

@hhstore
Copy link
Owner Author

hhstore commented Jun 16, 2022

ZigMod 包管理工具用法:

示例项目:

dependencies:
  - type: git
    path: https://github.com/truemedian/zfetch

Zig 标准库:

@hhstore
Copy link
Owner Author

hhstore commented Jun 16, 2022

Zig 单元测试:

@hhstore
Copy link
Owner Author

hhstore commented Jun 16, 2022

Zig 生态:

@hhstore
Copy link
Owner Author

hhstore commented Jun 16, 2022

C/C++ 替代品:

C 替代品:

C++ 替代品:

@kael777
Copy link

kael777 commented Apr 17, 2024

https://zig-by-example.github.io/
这个页面404了

@hhstore
Copy link
Owner Author

hhstore commented Apr 20, 2024

https://zig-by-example.github.io/ 这个页面404了

  • 可能项目原作者不维护了吧.

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

No branches or pull requests

2 participants