News for hackers. Stuff that matters.
Re:Golang on ARM by vox_mollis on Tuesday November 17, 2015 @05:45PM (#10584562)
Group (3), of which I am a member:

If the developers take a specific principled stance against $really_useful_feature on account that it would introduce complexity and thus degrade performance, then compromise this same principle in order to accomplish $entirely_unnecessary_port, it put the obvious lie to their avowed principles.

I don't mind that go compiles more slowly. To Thomas's point, it's still really fast. What I mind is that a good portion of the go community has accepted the lack of generics on the basis of principles that they haphazardly violated in order to scratch the useless but fun intellectual itch of bootstrapping the compiler.

Now that they've done this, they have revealed themselves to be entirely dishonest about their complexity/performance principles, and now the one legitimate objection that has kept generics out of the language has nothing to stand on.

Again, I don't care about performance per se, I care about dishonesty and hypocrisy in the platform's objectives.

Re:Golang on ARM by tptacek on Tuesday November 17, 2015 @06:19PM (#10584745)
"Entirely dishonest". "Dishonesty and hypocrisy". In a discussion about compiler performance. Do you understand that framing things like this makes it seem like discussing things with you is intractable?

Absolutely nobody in the universe promised you generics in Go. You may never, ever get them; the longer the language thrives without them, the less urgent they seem.

Re:Golang on ARM by pcwalton on Tuesday November 17, 2015 @06:39PM (#10584837)
The way the post you're responding to was phrased is indeed hyperbolic. But I think there is a valid point that compiler performance concerns are a pretty unconvincing reason to not have generics, especially in light of a demonstrated high tolerance for compiler performance regressions.
Re:Golang on ARM by tedunangst on Tuesday November 17, 2015 @08:02PM (#10585209)
Why not consult the go faq to find their reasoning for omitting generics?

> Generics are convenient but they come at a cost in complexity in the type system and run-time. We haven't yet found a design that gives value proportionate to the complexity, although we continue to think about it.

The word performance doesn't appear in that paragraph.

[deleted]
[deleted]
Re:Golang on ARM by pcwalton on Tuesday November 17, 2015 @09:14PM (#10585477)
You're right, that was really stupid of me. I'll delete it.
Re:Golang on ARM by AnimalMuppet on Tuesday November 17, 2015 @08:21PM (#10585282)
Complexity in the type system can easily have a negative effect on compiler performance.
Re:Golang on ARM by tedunangst on Tuesday November 17, 2015 @06:00PM (#10584646)
Is it possible that writing the compiler in go makes it easier to add efficient implementations of these missing features?