News for hackers. Stuff that matters.
Re:Go vs. Crystal Performance by igouy on Tuesday June 23, 2020 @06:47PM (#23621348)
I'm suggesting that "idiomatic" code in real software can perform so poorly that the real software is unfit for purpose.

Hence "idiomatic" may represent not "real code" but "naive code".

Re:Go vs. Crystal Performance by throwaway894345 on Tuesday June 23, 2020 @07:18PM (#23621642)
Fair enough, but I don't see how that relates to the conversation. Is that intended to rebut the idea that it's useful to know about the performance of idiomatic software?
Re:Go vs. Crystal Performance by igouy on Tuesday June 23, 2020 @07:44PM (#23621912)
You don't seem to have said "it's useful to know about the performance of idiomatic software".
Re:Go vs. Crystal Performance by throwaway894345 on Tuesday June 23, 2020 @08:46PM (#23622514)
I’m not the one you were originally responding to but it seemed pretty clear that that’s what they were getting at.
Re:Go vs. Crystal Performance by igouy on Wednesday June 24, 2020 @11:47AM (#23629316)
It seems clear that they conflated "idiomatic" code with "real code" into a subjective dismissal.

Do you intend to provide some support for your idea that "it's useful to know about the performance of idiomatic software"?

Re:Go vs. Crystal Performance by throwaway894345 on Wednesday June 24, 2020 @12:44PM (#23630377)
> It seems clear that they conflated "idiomatic" code with "real code" into a subjective dismissal.

No, they're dismissing it as useful for answering the questions we tend to care about when evaluating the performance of various programming languages. One such question is "If I choose a given language, how far will I be able to go with just idiomatic code before I need to invest in expensive optimizations (most of the expense here is that we're spending time optimizing instead of iterating on features)?". "Real code" is a function of this concern, so measuring it doesn't help us answer this question (i.e., if a language performs poorly on this question, "real code" will be more optimized and less idiomatic). Further, microbenchmarks don't measure "real code" either they maximally optimized code, which is what the OP was complaining about.

Re:Go vs. Crystal Performance by igouy on Thursday June 25, 2020 @01:45PM (#23643376)
> One such question…

Your question is sensibly answered by — It depends.