News for hackers. Stuff that matters.
Re:Show HN: HyperLogLog in Zig by henry_viii on Tuesday January 10, 2023 @05:09AM (#34322658)
You made this account just to insinuate I'm a shill? Not cool.

I work professionally with Go and I follow news about V, yes. Also I'm interested in discussions involving Zig and V because even though there is an overlap of the design goals of the languages (e.g. zero-cost interoperability with C, high performance), there aren't many comparisons between them online.

My advice is listen to the criticism of Zig to improve the language instead of making throwaway accounts to accuse people.

Re:Show HN: HyperLogLog in Zig by dang on Wednesday January 11, 2023 @12:35AM (#34335366)
I agree that the criticism is unfair because you've posted about other things as well. However, it's true that you've posted in the programming language flamewar style in the past; we're trying to avoid that here, so please don't do that in the future.

https://news.ycombinator.com/newsguidelines.html

Re:Show HN: HyperLogLog in Zig by henry_viii on Wednesday January 11, 2023 @03:17AM (#34336291)
Thank you, Dan.

I meant to ask my question in the spirit of HN (intellectual curiosity). I have found this community insightful when it comes to programming languages. Examples:

Vale

https://news.ycombinator.com/item?id=31786487

Lobster

https://news.ycombinator.com/item?id=19567160

I think this question will also be raised eventually since there have been other examples of Zig ports of Go projects:

https://news.ycombinator.com/item?id=31993429#31994394

I'm looking forward to OP's update. I believe it will be objective and insightful (surprisingly Google returns 0 results of "vlang vs. zig").

Re:Show HN: HyperLogLog in Zig by pverghese on Wednesday January 11, 2023 @04:49AM (#34336774)
Come on. Give it up. If there is something interesting in Vlang, post it as a new thread so people can judge it on its merits. Otherwise stop popping up on other language threads to just say why not vlang? There has been enough of these language wars. It just casts a bad light on vlang that this is the method that is needed to promote the language.
Re:Show HN: HyperLogLog in Zig by henry_viii on Wednesday January 11, 2023 @06:05AM (#34337176)
Your account mostly exists to defend Zig. You've also spread lies about V:

https://news.ycombinator.com/item?id=31995339

And Rust:

https://news.ycombinator.com/item?id=31999093

I'm afraid I won't be able to have a civil discussion with you.

I'm looking forward to OP's update. Concrete numbers I would like to see:

1) How long it took to port the project to each language

2) How long it took to build the ported projects

3) How fast did each port perform

Re:Show HN: HyperLogLog in Zig by pverghese on Thursday January 12, 2023 @01:19AM (#34349884)
I've written code which is part of vlang's codebase so I don't know why you are trying to claim that I've spread lies. The comment you cite was about V's memory management being a mess. Autofree does not work and can lead to double free and use after frees currently. So when and if it is able to work I'll change my opinion. Until then, you need to stop behaving like a victim and promote vlang in a better way.
Re:Show HN: HyperLogLog in Zig by henry_viii on Thursday January 12, 2023 @05:32AM (#34351617)
> Autofree does not work and can lead to double free and use after frees currently

Unless you can give an example, I'm going to have to say you're still spreading lies.

The issues with autofree were fixed in June 2022. From V's homepage (https://vlang.io/):

> (June 9, 2022) As of today, programs built with the V compiler no longer leak memory by default.

Your previous comment was from July 2022:

https://news.ycombinator.com/item?id=31995339

I don't think HN is the place for football tribalism. We're discussing tools. Please don't get so emotionally attached to a tool.

I mentioned a language with a Go-like syntax in a discussion about a port of a Go project. I haven't been critical of Zig anywhere in the thread.

Re:Show HN: HyperLogLog in Zig by dang on Thursday January 12, 2023 @10:58PM (#34363780)
You did exactly what I asked you to stop doing, just after I asked you! This is a way to get banned here. Please don't do this in the future. It would be best to just avoid this topic and focus on other things you find interesting. I'm not going to ban you right now, because from your more recent posts it looks like you've started to do that instead, which is good.
Re:Show HN: HyperLogLog in Zig by dang on Thursday January 12, 2023 @11:00PM (#34363787)
Please do not do programming language flamewar on HN. Even if someone else's comments are provocative, or you feel they are, reacting this way only makes things worse, and is just what we're trying to avoid here.

https://news.ycombinator.com/newsguidelines.html