summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Erdmann <n@nirf.de>2019-05-26 08:22:57 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-02 11:37:35 +0300
commit01327ee8db1a1e7d88849498264988031bc4d552 (patch)
treef1b4239035260392f417ab0e5401a2a1a3be7ffc /dev-lang/zig/metadata.xml
parentdev-python/jaraco-packaging: Add ~s390 keyword wrt bug #690956 (diff)
downloadgentoo-01327ee8db1a1e7d88849498264988031bc4d552.tar.gz
gentoo-01327ee8db1a1e7d88849498264988031bc4d552.tar.bz2
gentoo-01327ee8db1a1e7d88849498264988031bc4d552.zip
dev-lang/zig: new package
Zig is an open-source programming language designed for robustness, optimality, and maintainability. Feature Highlights - Manual memory management. Memory allocation failure is handled correctly. Edge cases matter! - Zig competes with C instead of depending on it. The Zig Standard Library does not depend on libc. - Small, simple language. Focus on debugging your application rather than debugging your knowledge of your programming language. - A fresh take on error handling that resembles what well-written C error handling looks like, minus the boilerplate and verbosity. - Debug mode optimizes for fast compilation time and crashing with a stack trace when undefined behavior would happen. - ReleaseFast mode produces heavily optimized code. What other projects call "Link Time Optimization" Zig does automatically. - ReleaseSafe mode produces optimized code but keeps safety checks enabled. Disable safety checks in the bottlenecks of your code. - Generic data structures and functions. - Compile-time reflection and compile-time code execution. No preprocessor. - Concurrency via coroutines. Async/await is thread-safe, non-blocking, and makes no syscalls, and therefore available in freestanding mode. You can multiplex coroutines onto a thread pool in userland for M:N concurrency. - Import .h files and directly use C types, variables, and functions. - Export functions, variables, and types for C code to depend on. Automatically generate .h files. - Optional type instead of null pointers. - Order independent top level declarations. - Friendly toward package maintainers. Reproducible build, 3-step bootstrapping process. - Cross-compiling is a first-class use case. Package-Manager: portage-2.3.66 Closes: https://bugs.gentoo.org/683386 Signed-off-by: Nick Erdmann <n@nirf.de> Closes: https://github.com/gentoo/gentoo/pull/12110 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang/zig/metadata.xml')
-rw-r--r--dev-lang/zig/metadata.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-lang/zig/metadata.xml b/dev-lang/zig/metadata.xml
new file mode 100644
index 000000000000..514f150afb0e
--- /dev/null
+++ b/dev-lang/zig/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>n@nirf.de</email>
+ <name>Nick Erdmann</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="experimental">Enable builds that do not support all of LLVM's target architectures</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ziglang/zig</remote-id>
+ </upstream>
+</pkgmetadata>