Zig

提供: ArchWiki
2023年8月24日 (木) 00:01時点におけるKgx (トーク | 投稿記録)による版 (英語版から転載)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

From Wikipedia:

Zig is an imperative, general-purpose, statically typed, compiled system programming language designed by Andrew Kelley. It is intended to be a replacement for the C programming language, with the goals of being even smaller and simpler to program in while also offering modern features, new optimizations and a variety of safety mechanisms while not as demanding of runtime safety as seen in other languages.

Installation

Install zig, or zig-gitAUR for the latest development version.

zls provides the Zig Language Server, a Language Server Protocol implementation.

Usage

Zig Build System

The Zig Build System provides a cross-platform, dependency-free way to declare the logic required to build a project. See [1].

Cross compiling

See [2]. For the latest list of supported targets, see [3].

See also