News for hackers. Stuff that matters.
Re:Go 1.2 by pcwalton on Saturday November 30, 2013 @12:56PM (#6823848)
> How? Everything produced by the preprocessor is available at runtime as much as anything else.

You can't instantiate a generic with new types at runtime using the reflection facilities, like you can with other objects.

> With what's being described here, you'll only be able to instantiate the generics for a given data type within the package that declares that data type, as it involves adding methods.

That's so limited as to be almost useless. It prevents me writing a hash table library, publishing it, and then you linking to that library and using your Widget type as a key.

There are no comments on this comment yet.