News for hackers. Stuff that matters.
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