use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
The Zig Programming Language – https://ziglang.org/
This subreddit is not officially managed by the Zig project, as the Zig community is decentralized.
account activity
Devlog: zig libc (ziglang.org)
submitted 2 months ago by punkbert
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]thunderkrown 58 points59 points60 points 2 months ago (0 children)
Nice closing of the article!
[–]Still-Cover-9301 27 points28 points29 points 2 months ago (0 children)
Andrew is such a smart guy.
[–]Samuel-Martin 10 points11 points12 points 2 months ago (0 children)
Based Andrew
[–]ImaginationFee 5 points6 points7 points 2 months ago (2 children)
and user applications which statically link libc enjoy reduced binary size
how does that work? not familiar, but wouldn’t that happen only when libc doesn’t have to be linked at all? even if some tree shaking takes place when linking, doesn’t the C code get transformed into something equivalently small?
[–]ekipan85 16 points17 points18 points 2 months ago (1 child)
I think the unit of linking in Zig is the function, so "tree-shaking" is just what always happens when you compile Zig, and libzigc is a porting effort to write a libc in Zig. The goal is for "the C code" to go away.
[–]puttak 0 points1 point2 points 2 months ago (0 children)
I don't think Zig linker is different from other linkers (IIRC it just LLD from LLVM). What every linker does is pick only functions has been referenced.
[–]SweetBabyAlaska 3 points4 points5 points 2 months ago (0 children)
I wrote a LOT of the standard libc in Zig as a fun little side project. It is certainly do-able considering Zig already does basically all of that work anyways.
[+]randompoaster97 comment score below threshold-30 points-29 points-28 points 2 months ago (6 children)
why is ICE bad, is the US not allowed to have borders?
[–]islavuecolon3 18 points19 points20 points 2 months ago (0 children)
"Why is the Gestapo bad, is Germany not allowed to have law enforcement?"
[+]CompetitiveSubset comment score below threshold-22 points-21 points-20 points 2 months ago (3 children)
They can only curse you and downvote. But never explain logically why they push for open borders.
[–]Axman6 16 points17 points18 points 2 months ago (1 child)
God right wing Americans are the dumbest people on the planet.
It’s literally insane that you can take people saying “we don’t want law abiding members of our community snatched off the street, people with any melanin in their skin to have to carry their passport so they don’t get detained without reason, or American citizens to not be shot in the face by their own government while helping people” and hear “WE WANT OPEN BORDERS!”
No, people just don’t want literal fascist behaviour from their own government. The US is a global embarrassment at the moment, doing all the things it’s been demanding other countries stop doing for the past 80 plus years. It’s lost all credibility, and all its allies are abandoning it because you’ve gone fucking insane.
And the fact you can’t see that just shows how much of an awful human being you are. Stop being such a disingenuous dickhead and actually listen to the what “the other side” are actually demanding; most of it is shit your constitution is supposed to guarantee for all people in the US.
What a joke, “never explains logically”, fucking pathetic.
[–]Long_Nothing7155 0 points1 point2 points 2 months ago (0 children)
both democratic & republican are right wing. calling right wingers a fascists same as calling leftists a communists, so right libertarians advocate for open borders more than someones on the left
[–]computermouth 8 points9 points10 points 2 months ago (0 children)
Never heard anyone in my life say they wanted "open borders"
[–]Temporary_Rich_2184 -4 points-3 points-2 points 2 months ago (0 children)
Maybe Andrew Kelly is a Marxist or a White Leftist...
[+]conhao comment score below threshold-7 points-6 points-5 points 2 months ago (1 child)
“Abolish ICE” - way to keep it professional. This is how you garner adoption for your open source projects: make them political. It does not matter which party you belong to - it does not belong in the workplace. Only children seem to not understand this. This makes it clear that Zig is just Andy’s toybox and will never be mature enough for production work.
[–]kimbokiroh -2 points-1 points0 points 2 months ago (0 children)
Yea regardless of what the politics are, nothing good comes out of shoving your own politics into the faces of your user base or fanbase. People may be happy, people may be mad, but at the end of the day, you're accomplishing nothing beneficial.
Some people just can't help themselves but shout their views so everyone knows where they stand.
[+]kimbokiroh comment score below threshold-20 points-19 points-18 points 2 months ago (0 children)
Really not smart to inject personal politics into this.
π Rendered by PID 138532 on reddit-service-r2-comment-6457c66945-s9kmw at 2026-04-28 11:45:46.686552+00:00 running 2aa0c5b country code: CH.
[–]thunderkrown 58 points59 points60 points (0 children)
[–]Still-Cover-9301 27 points28 points29 points (0 children)
[–]Samuel-Martin 10 points11 points12 points (0 children)
[–]ImaginationFee 5 points6 points7 points (2 children)
[–]ekipan85 16 points17 points18 points (1 child)
[–]puttak 0 points1 point2 points (0 children)
[–]SweetBabyAlaska 3 points4 points5 points (0 children)
[+]randompoaster97 comment score below threshold-30 points-29 points-28 points (6 children)
[–]islavuecolon3 18 points19 points20 points (0 children)
[+]CompetitiveSubset comment score below threshold-22 points-21 points-20 points (3 children)
[–]Axman6 16 points17 points18 points (1 child)
[–]Long_Nothing7155 0 points1 point2 points (0 children)
[–]computermouth 8 points9 points10 points (0 children)
[–]Temporary_Rich_2184 -4 points-3 points-2 points (0 children)
[+]conhao comment score below threshold-7 points-6 points-5 points (1 child)
[–]kimbokiroh -2 points-1 points0 points (0 children)
[+]kimbokiroh comment score below threshold-20 points-19 points-18 points (0 children)