Primitives in Generics
dl at cs.oswego.edu
Fri Jul 9 12:30:51 PDT 2010
On 07/08/10 17:42, Brian Goetz wrote:
> Its worth noting that ParallelArray is really the *only* well-known bad case
> here. Given the invasiveness to the language that function types represent,
> it seems a bad trade to take on such a big solution for a single ill-behaved
> library that some mad professor cooked up :) :) :)
> ^ Lots of smileys here!
My take is that you have three choices:
A) Support function types covering primitives
B) Support primitives in generics
C) Do something that doesn't restrict your options to reconsider
(A) or (B) in Java8 in response to all the complaints about
sucky parallel performance.
More information about the lambda-dev