News for hackers. Stuff that matters.
Re:Rust: “Explain GATs Like I'm 5 Years Old” by the__alchemist on Monday November 07, 2022 @09:02AM (#33505872)
I appreciate the explanation. I've been more of a firmware or application developer in Rust than library developer, so will keep this in the hip pocket.
Re:Rust: “Explain GATs Like I'm 5 Years Old” by jackmott42 on Monday November 07, 2022 @09:11AM (#33505957)
Yeah basically if the day comes when you need these, you will just naturally use them and it will work and you will never think anything of it.

Whereas I stumbled upon a use for these ~4 years ago and was just mad that what I naturally wanted to do didn't work =)

But yeah in certain programming domains, probably most, it just doesn't come up.

Re:Rust: “Explain GATs Like I'm 5 Years Old” by mcronce on Monday November 07, 2022 @09:21AM (#33506072)
Yeah - it's almost better to think of GATs as less of a feature and more of a weird restriction being removed. That's obviously super reductive knowing the amount of work that went into it, but from an end developer standpoint, it's an explanation that helped make it make sense to me.