Hacker Newsnew | past | comments | ask | show | jobs | submit | danielEM's commentslogin

Benefits are bigger than anyone realizes. Even if it would cost same it would still be money that are to circulate further in local economy.


Looks like advertisement of codeberg - worked, got my account there

The message itself could be a bit nicer however. I agree with what it says but not with how it is written.


@pron If all you mean is there is more syntax to D than to zig to achieve same/similar thing then you may be a bit aggresive on how you communicate it.


It's not about more syntax, it's about design, and how Zig was the first to use partial evaluation to do away with several, rather common, features.

It's like how the novelty of the iPhone's touchscreen design was in not having a keypad, or that the novelty of the spork wasn't in inventing the functionality of either the spoon or the fork, but in having a single utensil that performs both. The more important aspect isn't the functionality but the design. I'm not saying you need to like any of these designs, but they are novel.

Saying that you could have a similar functionality by other means misses the point as much as saying that there's nothing special about a spork because if you have a spoon and a fork, then you have the same functionality. But you still don't have a spork.

You could, then, ask what the point of the novel design is. Well, in some languages you have generics and interfaces and compile-time expressions, but because none of these is general and powerful enough, so you also have macros. Macros are very powerful - perhaps too powerful - but they are difficult to understand, so they're used sparingly even if they can subsume other functionality.

Zig has shown that you can do almost anything you would reasonably want to do with macros with partial evaluation that has access to reflection. That wasn't obvious at all. And because that feature was not only powerful enough to subsume other features and make them redundant, but also very simple and easy to understand, it ended up with a design that is both minimal and easy to read (which is important for code reviews) but also highly expressive. Again, you don't have to like this rather minimalistic design, but it is novel.


> Zig was the first to use partial evaluation to do away with several, rather common, features

Please show an example of Zig partial evaluation.


I posted a few examples below: https://news.ycombinator.com/item?id=45865028


Inconvenient, most of the times freaking expensive or vendor locked, no privacy - these are major reasons why it doesn't work out.

A good VR headset will be most probably a form of wireless screen (not a beafy computer) that is simple, lightweight (at most 200g in front of your face), cheap enough so you'll be able to wear it with you and not worry that something happens to it or be able to afford it for each member of your family without major effort and most of all - it should be replacing computer/laptop screen for daily tasks.

We could do it today, big tech is just holding us back with their vision of products


Ryzen AI max+ 395 128GB can do 256GBps so lets put all these "ifs" to bed once for all. That is absolutely no brainer to drop more RAM as long as there is enough bits in address space of physical hardware. And there usually is, as same silicons are branded and packaged differently for commercial market and for consumer market. Check up how chinese are doubling 4090s RAM from 24 to 48GB.


Interesting video about birds and sound


That is a bit unexpected from company that produces light bulbs (pun intended ;-) ), but deserves spreading that idea out.


Google saying they gonna reboot my phone for my safety - not suspicious at all ;)


100% agree, would like to meet that guy one day


Please - anyone - announce a talk he is going to give. I would listen to him. I just heard Vint Cerf speak on martian probe networking.


I know what I’m listening to when I wake up


I know for a fact that ppl are serious on hn when they post in their sleep without any fanfare whatsoever


Having nreal air. It is so freaking inconvenient to wear for longer that every time I see someone posting how they replaced regular screen with ar glasses or vr (yes, tried also Quest 2) I laugh HARD!


I regularly work for a few hours at a time in a Quest 3. Feel free to laugh.


Didn't try Quest 3, but biggest disadvantages of quest 2 are:

- half a kilo hanging in front of your face

- working in the summer w/o air conditioning is a nightmare


Never massively noticed the weight but I guess I'm comparing with the OG Vive and other 1st gen headsets.

As for the summer thing - I live in the UK so it's less of an issue...


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

Search: