News for hackers. Stuff that matters.
Re:Proposal: Go 2 transition by Thaxll on Friday October 26, 2018 @05:15PM (#18312759)
Why do people feel the need to promote Rust on many Go topics? Also can someone explain the "lack" of strong type system in Go, I don't use interface{} so where is the problem?
Re:Proposal: Go 2 transition by Scarbutt on Friday October 26, 2018 @05:21PM (#18312791)
Why do people feels the need to promote rust on many Go topics?

Its more fun for some to do so, for ex: the Go2 proposal might be too boring to discuss.

Re:Proposal: Go 2 transition by shaklee3 on Friday October 26, 2018 @09:52PM (#18313952)
I think since there are so many languages being rapidly developed these days (including c++), comparing language features is a good way to know how things are and aren't used in practice.

Rust just happens be extremely popular right now, along with python and go.

Re:Proposal: Go 2 transition by pjmlp on Saturday October 27, 2018 @04:12AM (#18314823)
I like Rust a lot, but lets be realistic here, being extremely popular is very subjective to which bubble one moves on.
Re:Proposal: Go 2 transition by shaklee3 on Saturday October 27, 2018 @11:55AM (#18316269)
That true. I always assume HN is reflective of the community at large, but at work it's very different.
Re:Proposal: Go 2 transition by everybodyknows on Friday October 26, 2018 @06:24PM (#18313138)
One limitation is that although "int" can be sub-typed, such a variable cannot directly index a slice.
Re:Proposal: Go 2 transition by zeeboo on Friday October 26, 2018 @09:29PM (#18313879)
I’m confused. First, there’s no notion of sub-typing in Go. Second, the closest thing I can think of what you mean does work: https://play.golang.org/p/IE9sg4CwCd_C
Re:Proposal: Go 2 transition by JohnStrangeII on Saturday October 27, 2018 @06:33AM (#18315184)
Rust doesn't have proper integer subtypes either. Ada has.
Re:Proposal: Go 2 transition by steveklabnik on Saturday October 27, 2018 @07:32AM (#18315295)
Aren’t ada’s runtime checked? You can do that in Rust.
Re:Proposal: Go 2 transition by pjmlp on Saturday October 27, 2018 @07:39AM (#18315317)
Only if it cannot be proven at compile time.
Re:Proposal: Go 2 transition by steveklabnik on Saturday October 27, 2018 @03:08PM (#18317217)
Interesting. You wouldn’t happen to have a link to docs, would you?
Re:Proposal: Go 2 transition by pjmlp on Saturday October 27, 2018 @04:46PM (#18317581)
The docs are the Ada language standard.

http://www.ada-auth.org/standards/index.html

Like with other languages, each vendor is free to do their best for optimizations, while keeping language semantics.

Besides Ada Core, there are a couple others but at enterprise budget levels.

http://www.adaic.org/ada-resources/pro-tools-services/

Re:Proposal: Go 2 transition by steveklabnik on Saturday October 27, 2018 @06:59PM (#18318170)
Thanks