News for hackers. Stuff that matters.
Re:Swift vs. Go by dllthomas on Friday April 01, 2016 @08:26PM (#11409563)
This is a very good list.

With respect to Haskell and dynamic typing, I am curious whether you had considered Typeable and Data.Dynamic in your analysis (and, in general, your thoughts on how they relate to the distinction being made).

Re:Swift vs. Go by catnaroek on Friday April 01, 2016 @08:47PM (#11409642)
If I understand correctly, and I might be wrong, `Typeable` and `Data.Dynamic` require dedicated support from GHC, and couldn't possibly be implemented entirely as user libraries. This makes them core language features in my book. So the language specified in the Haskell Report isn't dynamically typed, but the GHC Haskell dialect is dynamically typed.
Re:Swift vs. Go by tome on Saturday April 02, 2016 @04:45AM (#11410782)
I believe the situation is that Dynamic only requires Typeable, and Typeable only requires unsafeCoerce plus the trust that bad instances are never created.
Re:Swift vs. Go by catnaroek on Saturday April 02, 2016 @05:39AM (#11410896)
> unsafeCoerce

GHC-specific implementation detail.

> the trust that bad instances are never created

The only way I can trust it is if the compiler enforces it, at which point it isn't “just a library feature”.

Re:Swift vs. Go by dllthomas on Friday April 01, 2016 @09:06PM (#11409709)
Ah, yes, report vs ghc is sometimes a very important distinction. Your assessment sounds correct.