Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm also very curious to know this. HyperLogLog is written in Go:

https://github.com/axiomhq/hyperloglog

I would expect V to be a more natural choice for a port than Zig.



Author here, will publish my vlang take on it in the next couple of days.


Looking forward to it :).

It seems the V port should be pretty straightforward (the repo is 880 LOC and doesn't have any dependencies).


As a notice to others reading this user's comments, they are a recently made account that seems to exist mostly to post about V and post negatively about Zig. Extremely suspect given the history of poor behavior from the V project.


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.


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.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").


[flagged]


[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


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


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.


It's true that users here should avoid programming language flamewar drama (or any flamewar drama), but you shouldn't be attacking another user like this. Between that and the name of the account, I think we have to ban this one.

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: