PersistentDictionary for WinRT

Jul 3, 2012 at 1:31 AM

Is there going to be a version of PersistentDictionary for WinRT release any time soon?

Developer
Jul 3, 2012 at 9:26 PM

There's a much better chance now that you've asked. :) It wasn't on my radar before.

-martin

Aug 28, 2012 at 8:09 AM
Edited Aug 28, 2012 at 8:11 AM

Hi Martin, Any chance of having PersistentDictionary for WinRT sooner?

- gaurav

Developer
Sep 9, 2012 at 11:38 PM

I got back from vacation and finally had a chance to look at porting.

It's not entirely straightforward. Some parts are easy, some are harder but still possible (such as moving to different Reflection functions), but others are harder, and maybe even impossible (including the lack of support for serialization, and I'm not sure if the winrt CLR allows IL to be emitted).

-martin

Sep 10, 2012 at 5:38 AM

No problem. Thanks for looking into it. 

Sep 17, 2012 at 5:11 PM

You can't emit IL (so no way of creating types dynamically), but if what you want are functions, you can build lambda expressions dynamically and then compile them on the fly to get all the performance as if you would emit IL.