News for hackers. Stuff that matters.
Re:Go's power is in emergent behavior by twic on Sunday April 27, 2014 @06:41PM (#7657297)
No, it's exactly as tomp says - in Java 8, lambda expressions are handled by compiling them to little classes which implement interfaces.

Kind of. The truth is that something absolutely barking mad goes on in the compiler, and then extra magic is injected at runtime:

http://cr.openjdk.java.net/~briangoetz/lambda/lambda-transla...

But it behaves exactly as if there were little classes which implement interfaces. Just more efficient.

Re:Go's power is in emergent behavior by dvirsky on Monday April 28, 2014 @03:44AM (#7658704)
Oh, thanks for the info, didn't know that. Still I don't think that Go should have that feature.