5 ms·
Generics were a mistake. @ me in the parking lot about it.
by aliqot 4y ago
Generics were a mistake. @ me in the parking lot about it.
- dw-im-here 4y agoShould it be a parking lot for blue audis? Or a parking lot for red toyotas? or a parking lot for [Object object]? string? {}?
- morelisp 4y agoI'm hoping atomic.Pointer's performance gain offsets the dependency of ours that rushed to switch to some generic slice function library and basically doubled memory allocations on a near-critical path.
- srpen6 4y ago> dependency of ours which one?
- morelisp 4y agoWhy does it matter? We didn't pay for it, so I'm not going to drag anyone personally for something that's a cultural issue. If you're worried because you might use it, you'll see it in your benchmarks just like we did. If you don't have benchmarks, it's the least of your performance concerns.
- srpen6 4y agowhy do you need to be so combative? I like to learn from others mistakes if I can. If you don't want anyone to learn anything from your issue, and force everyone to figure out everything for themself, thats your choice.
- nindalf 4y agoThey've made it clear - they don't want to denigrate a library they're using, likely for free. Imagine the author of that library seeing such a comment. I'm sure you'd find it educational, but it's a terrible experience for the author.
- morelisp 4y agoIf you're interested in learning from the issue, ask "what's wrong with X?", not "who did X?" In which case I'd recommend jerf's post at http://www.jerf.org/iri/post/2955 http://www.jerf.org/iri/post/2955, or my comments at https://news.ycombinator.com/item?id=30804253 https://news.ycombinator.com/item?id=30804253, or even just reasoning a bit from first principles about how intermediate slices would perform given Go's memory/execution model.