News for hackers. Stuff that matters.
Re:What Golang Is and Is Not by mafribe on Sunday August 21, 2016 @01:16PM (#12331701)

   provide just let polymorphism 
   and ML-style type inference
I mostly agree with this, and this should be the default starting point for any new programming language. If B. Eich had built Javascript on this basis, the world would have been a better place.

My main caveat would be that even a basic language needs a mechanism to glue related code together, objects, modules, structs with row-typing, existentials, not sure. But something.

Re:What Golang Is and Is Not by catnaroek on Sunday August 21, 2016 @01:23PM (#12331731)
> My main caveat would be that even a basic language needs a mechanism to glue related code together, objects, modules, structs with row-typing, existentials, not sure. But something.

While not perfect, I think ML's solution is pretty reasonable: a separate module language, whose complexity doesn't infect the core language.

Re:What Golang Is and Is Not by snaky on Sunday August 21, 2016 @02:04PM (#12331947)
There's 1ML where those languages are are unified into one language.

http://www.mpi-sws.org/~rossberg/1ml/

Re:What Golang Is and Is Not by catnaroek on Sunday August 21, 2016 @02:08PM (#12331970)
I'm aware of it. But my previous suggestions were in part shaped by the stated goals of Go's designers: to keep the language simple and easy to learn for non-language geeks. 1ML is really cool, but its type system can be intimidating: small vs. large types, incomplete inference, type-checking as elaboration into System F-omega, etc. OTOH, plain Damas-Milner is dead simple.
Re:What Golang Is and Is Not by mafribe on Sunday August 21, 2016 @02:24PM (#12332051)
Another problem with 1ML is that it's only a research prototype for now, so we can't take it "for a spin". Given the 1ML inventor's main job, this is unlikely to change any time soon, unless some kind soul takes on the 1ML project lead.
Re:What Golang Is and Is Not by snaky on Sunday August 21, 2016 @02:58PM (#12332192)
OTOH maybe we will be surprised by the name of first language with working compiler to web assembly.
Re:What Golang Is and Is Not by mafribe on Monday August 22, 2016 @04:03AM (#12334782)
Ohhh that would be amazing, have you got inside information that you can share?
Re:What Golang Is and Is Not by snaky on Monday August 22, 2016 @08:00AM (#12335652)
No, it was just wishful thinking, based on "given the 1ML inventor's main job".