Live data from Hacker News

Zig Libc

ziglang.org

101–110 of 196 posts

Re: Zig Libc

#101

250 C files were deleted. 2032 to go. Watching Zig slowly eat libc from the inside is one of the more satisfying long term projects to follow

That's something I've always admired about Zig.

A lot of languages claim to be a C replacement, but Zig is the second language I've seen that seemed like it had a reasonable plan to do so at any appreciable scale. The language makes working with the C ABI pretty easy, but it also has a build system that can seamlessly integrate Zig and C together, as well as having a translate-c that actually works shockingly well in the code I've put through it.

The only thing it didn't do was be 99% compatible with existing C codebases...which was the C++ strategy, the first language I can think of with such a plan. And frankly, I think Zig keeping C's relative simplicity while avoiding some of the pitfalls of the language proper was the better play.

Re: Zig Libc

#102

Earlier quoted context omitted.

[flagged]

These few-minutes-old accounts swooping in on hot button issues to try persuade people are such a goddamn scourge, I wish there were something that could be done about it. In the end I probably just need to leave HN for a while because it's really doing a number on what's left of my ability to trust what I read online.

> I wish there were something that could be done about it.

I find it helpful to think of HN like one would any other social media site. There are things they could be doing to curtail these sorts of accounts. They have apparently chosen not to.

Re: Zig Libc

#104
post #80

Earlier quoted context omitted.

[flagged]

[flagged]

Denouncing ICE is not denouncing federal immigration law. The Department of Homeland Security did not exist until 2003. Are you saying that prior to 2003, the US did not enforce federal immigration law?

Re: Zig Libc

#105
post #94
post #80

Earlier quoted context omitted.

[flagged]

Objecting to murder is still politics, no? In fact, US republicans and democrats can't seem to agree who is fine to murder. Republicans say that abortions are murder, but often also that prisoner executions are fine. Democrats tend to be in favor of abortions, but not of the death penalty. I'm not making a moral judgement here, but I do want to ask. Is it just politics you don't agree with that you don't want Andrew…

Objecting to murder qua murder isn't political, since murder is defined as unjustified premeditated killing. The key word being _unjustified_: it's hardly political to oppose something that is unjustified by definition. The political aspect comes into play when people start to debate which killings are and aren't justified.

Your abortion example is a good one, so I will use it to clarify my point. When people say “abortion is murder!” they aren't just objecting to murder. They are asserting that abortion _is_ murder, actually: it's the political view that killing unborn foetuses is unjustified. The essential claim isn't “murder is bad”, but rather “abortion is bad”. So summarizing opposition to abortion as simply opposition to murder isn't accurate at all. It doesn't cut at the core of the objection.

The same situation exists with ICE. Modern societies grant the state a monopoly on violence, which the state delegates to officers who enforce the law of the land. When those officers use violence, it can be justified by virtue of them enforcing the monopoly on violence on behalf of the state, for the greater good. When a police officer shoots a gunman who attempts to kill civilians, few people would call that murder: after all, the killing is justified. Sometimes, law enforcement officers kill people when it's questionable whether it is justified. Labeling the killing as “murder” or “not murder” is then a political position: you aren't making a specific statement about murder (again, almost everyone agrees that murder is bad), but you're insisting that killing a person in such-or-such a situation is (not) justified.

So yes, insisting that the recent ICE killings of left wing activists constitute murder is a political statement: it's asserting that this ostensibly justified use of state violence was not justified in this case. Which is a point you can plausibly make, but you cannot insist it's not political, because determining which types of killings are justified and which are not is intrinsically a matter of publicy policy, i.e., political.

> Is it just politics you don't agree with that you don't want Andrew to express?

Ideally, I would not want Andrew to express any political views, at least not in his capacity of Zig project leader. I prefer open source projects that are maximally inclusive, which means not enforcing contributors to conform with particular political views.

Of course there is no law that says open source projects must be inclusive of political views, so you can create an open source project just for people who have the same political views as you do, but then I think the decent thing to do is at least be honest about it.

If Andrew thinks Zig is an American Democratic software project, he should clearly label it as such on ziglang.org. And then I also think Hacker News should ban him when he makes posts where he takes political stances, since Hacker News explicitly has a policy that opposes politics. If Andrew doesn't think Zig is just for American Democrats, he should refrain from making political posts on the Zig language blog. He can still go to his anti-ICE rally and post about it on his personal Bluesky account or whatever, but that at least makes it clear those are his personal political views, and they are not part of the Zig project.

Of course, I cannot enforce either of those things. They are just my personal preferences.

Re: Zig Libc

#106
post #88

Earlier quoted context omitted.

The budget needs to increase because there are a lot of people in the country illegally and in order to get every single one of them out the agency needs to scale up. When people start obstructing officers and being violent that increases the required number of officers even more.

We don't need to get them all out, though. The vast majority are picking strawberries and working cheap construction jobs, not funneling drugs and guns. I'm as concerned with getting them all out as I'm concerned with ticketing every jaywalker.

>The vast majority are picking strawberries and working cheap construction jobs,

This doesn't matter. I do not want the idea that someone can invade my country as long as they avoid drugs and guns to spread through the world. Due to how great America is people are going to want to come here even if they aren't allowed, so they must understand that coming here illegal will end badly for them so they fully understand not to come here illegally since it has negative EV for them.

Re: Zig Libc

#108
post #10

"Abolish ICE" at the bottom. Obviously a Bad Bunny fan, as I am.

[flagged]

It's kind of hilarious to call 2 single words at the end of a blogpost that you could have read over "pushing politics down your throat". As you said, you didn't even have an idea what it meant. For all you knew before you looked it up, he was complaining about the frigid winter weather.

Re: Zig Libc

#109
post #80

Earlier quoted context omitted.

[flagged]

Denouncing ICE is not denouncing federal immigration law. The Department of Homeland Security did not exist until 2003. Are you saying that prior to 2003, the US did not enforce federal immigration law?

What's your point? Immigration law existed before 2003 too. It might not have been the DHS or ICE enforcing it, but the concept of illegal aliens wasn't invented in 2003.

And yes, I interpret “Abolish ICE” to mean “don't enforce federal immigration law”, because that's what people _usually_ mean when they say “abolish ICE”.

Technically, “abolish ICE” could also mean: “abolish ICE and replace it with an even more ruthless state secret police modeled after the East German Stasi” but in my experience that's _rarely_ what people who say “abolish ICE” mean. So I don't think you can fault me for assuming, in good faith, that's not what Andrew means when he calls for the abolition for ICE, either.

If Andrew feels I'm misconstruing his intent, then he's welcome to write a full blog post explaining his nuanced views on immigration, but he didn't do that. He only wrote two words: abolish. ICE. I think it's reasonable to assume that he means to literally abolish Immigration and Customs Enforcement, leaving the US without Immigration and Customs Enforcement.

Post reply on HN