logoalt Hacker News

sedatk11/07/20242 repliesview on HN

Can't wait for Zig team to adopt this over libc, citing concerns about "libc not existing on certain configurations"[1]

[1] https://github.com/ziglang/zig/issues/1840


Replies

TUSF11/07/2024

Zig on Linux already directly interfaces with syscalls,[0] unless your library or application directly links libc.

[0]: https://ziglang.org/documentation/master/std/#std.os.linux

show 1 reply
AndyKelley11/07/2024

Welcome to 2016. https://github.com/ziglang/zig/blob/5f0bfcac24036e1fff0b2bed...

show 1 reply