locked
Metro UI CLR RRS feed

  • Question

  • So, I started thinking while doing some Metro development yesturday.

    Is the .NET CLR the exact same CLR used for Metro, or does Metro use a different (modified) CLR? I was curious because when we start doing performance stats on our applications, will the same CLR payloads be present (.NET) or will the CLR payloads be different because of the use of a different CLR?

    Also, if I develop in HTML5 or Java or some other Metro supported langauge, does the CLR get used? If so, is it the .NET CLR (using a wrapper of some kind) or is it the native langauge CLR? If it's the native one, what would HTML5 use since it uses no CLR.

    Sorry for a ton of questions but I was just really curious how this all works out.

    Thanks!


    Owner, Quilnet Solutions

    Monday, June 25, 2012 3:48 PM

Answers

  • Managed Metro style apps use a subset of the .Net Framework. For more information, see .NET for Metro style apps overview.

    Non-managed Metro style apps (C++ or JavaScript) do not use the CLR at all. C++ apps compile to native code. JavaScript apps run in a JavaScript host process.

    --Rob

    • Marked as answer by Quilnux Monday, June 25, 2012 4:19 PM
    Monday, June 25, 2012 3:54 PM
    Moderator

All replies

  • Managed Metro style apps use a subset of the .Net Framework. For more information, see .NET for Metro style apps overview.

    Non-managed Metro style apps (C++ or JavaScript) do not use the CLR at all. C++ apps compile to native code. JavaScript apps run in a JavaScript host process.

    --Rob

    • Marked as answer by Quilnux Monday, June 25, 2012 4:19 PM
    Monday, June 25, 2012 3:54 PM
    Moderator
  • From your article, it sounds like there is no real difference between the .NET CLR and the Metro CLR on execution.

    Thanks!


    Owner, Quilnet Solutions

    Monday, June 25, 2012 4:19 PM