Live data from Hacker News

Show HN: HyperLogLog in Zig

github.com

31–38 of 38 posts

Re: Show HN: HyperLogLog in Zig

#31
post #29

Earlier quoted context omitted.

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

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.ycomb…

[flagged]

Re: Show HN: HyperLogLog in Zig

#32

Earlier quoted context omitted.

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.ycomb…

[flagged]

[flagged]

Re: Show HN: HyperLogLog in Zig

#33

Is it possible to use a single fn to replace the beta4..beta18 fns[0], so that the polynomial expressions are generated at comptime instead of being hand-written? [0] https://github.com/axiomhq/zig-hyperloglog/blob/main/src/bet...

Yes: https://zigbin.io/771ac5

Re: Show HN: HyperLogLog in Zig

#35

Earlier quoted context omitted.

[flagged]

[flagged]

> 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

#36

Earlier quoted context omitted.

[flagged]

> 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.ycombi…

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

#37

Earlier quoted context omitted.

[flagged]

[flagged]

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

Re: Show HN: HyperLogLog in Zig

#38

Is it possible to use a single fn to replace the beta4..beta18 fns[0], so that the polynomial expressions are generated at comptime instead of being hand-written? [0] https://github.com/axiomhq/zig-hyperloglog/blob/main/src/bet...

Yes: https://zigbin.io/771ac5

Nice!
Post reply on HN