Hacker News new | past | comments | ask | show | jobs | submit login

What things do gats make ambiguous? What bugs did they expose to you that affected non gat use?

The compiler hasn't slowed down for them, in fact it was sped up recently.

So I'm curious if you can point to instances of your hypotheticals, sure that's all possible, but did it actually happen or are you arguing in the sense of "if you just write perfect code..." and similar grasping at strawmen styles.




If you're claiming that adding complexity to any software project comes without trade-offs then I don't know what to tell you.

I will not spend time researching and writing up specific instances where existing complexity made something harder, slower or more bug-prone. If you think that's not a fact, then you're either not arguing in good faith or don't have much experience with real software.


Im not claiming that adding complexity doesn't come with tradeoffs. I never said anything of the sort.

> I will not spend time researching and writing up specific instances where existing complexity made something harder, slower or more bug-prone.

Im asking very specifically if this is true of rustc for GATs which you called out. I'm literally just asking you to back your claims. I apologize if I made a bad assumption that you were talking about a topic you were actually familiar with.

> If you think that's not a fact, then you're either not arguing in good faith

You listed some types of negative consequences that may arise from those complexity trade offs then you said: "It's not the case that if I don't use GATs they have zero negative impact on me."

I asked if you using GATs caused any of the listed issues for you (or if you knew of cases where adding GATs to rust caused those issues), particularly when not using GATs.

Yes there are trade offs, and there are many ways those trade offs might be made. It doesn't mean the specific trade offs you call out were made. The trade offs could be "rustc is harder to develop in the future", "the binary of rustc is bigger", "if and only if developers use GATs, things get slower and they may have bugs", and a myriad of others. None of those impact you the end user of the rust compiler (if you aren't choosing to use GATs anyway).

So again: do you have any actual knowledge that the trade offs you listed actually apply in the case you highlighted or are you hypothesizing and strawmanning due to ignorance of the specific case?




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

Search: