Checking In: Jeff Wilcox - Writing the WP7 App Platform in C# and C++

Download this episode

Download Video

Description

Jeff Wilcox is a developer on the Silverlight team. He spends a lot of his time (~80%) coding in C++. Strange? Of course not... Silverlight is a portable managed runtime and C++ (C with classes in this case) is what enables Silverlight portability. Of course, Jeff also spends a significant amount of his time writing the managed parts of Silverlight (controls, libraries, etc.). He is an expert in both the managed and native programming models and he's responsible for some of the really powerful and widely used Silverlight controls that you employ when you're programming WP7 devices or Silverlight apps for Windows or OSX. Jeff is a code-cranking machine and a very talented software engineer. Code on, Jeff!

What will Erik ask Jeff? What rabbit holes will we jump into?

This way, Alice. No, that way.

Keep cranking out great code, Jeff...and checking it in!

Tune in. Enjoy.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      LordKain

      Great video. Thanks Charles for the interesting questions related to C++.

      Now that we know a native framework exists on the phone and is used for some Microsoft apps, I think a lot of developers are gonna ask you to release it.

      Android and iOS (obviously) already have excellent support for native code, now is your turn Wink

       

       

    • User profile image
      felix9

      @Charles thank you for asking the question about "Splash", Smiley
      and, Zune client is based on Splash ? on PC ? wow, so its not CE only !
      p.s. does Mary Jo Foley know about this name ?

      but it seems like Silverlight runtime is really a mess, with code from everywhere and hacked together.

    • User profile image
      Charles

      @LordKain: Thanks. To be clear, the WP7 OS is largely native (as you'd expect). The native interfaces for programming the OS are not available to the public in this release, as you know. There are very good reasons fror this... I can't and won't speak for the WP7 team about if/when they will provide native access. Sorry. I am not qualified to do so.

      I can see how our conversation might have confused you in this regard since I asked a question about Silverlight on Windows CE (which is XAML over C++). My apologies.

      C

    • User profile image
      felix9
    • User profile image
      felix9

      well, I checked out the ui framwork of Zune software, its called 'Microsoft UIX Framework',and turns out, its managed code with namespace "Microsoft.Iris", at least for the PC version that Zune uses, and its said that the WP7 version is native code, but is it the same as the 'Silverlight for Windows Embedded' / "Embedded XAML Runtime" in CE ?

      http://www.istartedsomething.com/20071116/microsoft-iris-uix-framework-zune/
      http://www.withinwindows.com/2010/03/17/what-the-heck-is-microsoft-iris-here-are-my-notes-thus-far/

      it seems like, the Splash/Iris/UIX is 'Microsoft internal' only, while 'Silverlight for Embedded' is open API. if they are not the same thing, then the reasons he stated are not accurate, and actually you CAN edit your 'Silverlight for Windows Embedded' xaml in Blend.

    • User profile image
      LordKain

      @Charles: There's no confusion, I just hope that one day we'll get the ability to write native code for the phone. Discussing about Silverlight on Windows CE in this context is in my opinion a step forward Smiley

    • User profile image
      Charles

      @LordKain: Baby steps. Inch by inch Smiley
      C

    • User profile image
      RichMiles

      @LordKain You can submit the request for a native API to https://windowsphone7community.uservoice.com/forums/84435-feature-feedback 

      I did a cursory search and didn't see it as a request.  I would be curious to hear what your specific need for native is.

    • User profile image
      Morten

      Regarding native access on WP7, this was never announced at Mix, but they did list the InteropServices.dll as part of the new API available with the Mango release.

      The InteropServices.dll is the dll that allow you to call into native code (it's actually already there today but isn't officially supported by Microsoft).

    • User profile image
      LordKain

      @RichMiles: code sharing between the different platforms (WP7, Android, iOS) is something important in my eyes and this can be done to a large extent by using portable languages. 

      Leveraging existing code is another key factor, and there are literally billions of lines of existing, perfectly-working C/C++ code... 

      Thanks for the link!

    • User profile image
      Jim Rehrer

      WHO all helped i was one of them. HELLO

    • User profile image
      jjorgegiral​do

      Buena la charla pero mas entendible es en Spanish not speak in inglish..¡¡¡¡¡¡¡¡

    • User profile image
      Booking

      Charles: I can't and won't speak for the WP7 team about if/when they will provide native access. Sorry. I am not qualified to do so.

      We need this

    • User profile image
      Richard.Hein

      Great interview.  At first I was surprised by the amount of C++ in Silverlight, but of course it makes sense after the discussion about the various platforms.

      I'm curious about the reaction to Rx ... no pun intended.  What's the problem?  I know what my issues are ... mainly in creaing complex Observable.Create methods and dealing with schedulers. 

    • User profile image
      madhu

      why all channel9 videos does not have resume option.When
      I try to download using Download manager , it shows "Resume Option is not available". It is not the case earlier

    • User profile image
      Jeff Wilcox

      Thanks for watching folks. Note: XAML is def. NOT Turing complete :-)

    • User profile image
      erfan

      i am erfan from iran

      very goooood

    • User profile image
      erfan

      i am erfan from iran

      very goooood

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.