On Nov 16, 2010, at 11:48 PM, John Rose wrote: > On Nov 16, 2010, at 11:22 PM, Mike Swingler wrote: > >> The Mac OS X 10.6 SDK allows us to use blocks (which _greatly_ simplifies >> interacting with AppKit on the main thread), and has many key pieces of >> functionality exposed as full Cocoa API (as opposed to using private SPI or >> Carbon functions). > > Very nice. > > I hope we can eventually map the blocks to method handles instead of > interfaces. The semantic gap is small. A little sun.misc.Unsafe magic would > do the trick.
How are blocks mapped to interfaces? Curious, Mike Swingler Java Engineering Apple Inc.