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?
[ Parent
| on HN ]
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.
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.
I like Rust a lot, but lets be realistic here, being extremely popular is very subjective to which bubble one moves on.
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.
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.
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?
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.
Re:Proposal: Go 2 transition
by steveklabnik on Saturday October 27, 2018 @06:59PM
(#18318170)
Thanks