Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Vista and .NET

Vista and .NET

Scheduled Pinned Locked Moved The Lounge
csharpc++dotnetvisual-studiocom
69 Posts 19 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Judah Gabriel Himango

    Visual Studio 2002, 2003, and 2005 are managed applications.

    Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

    J Offline
    J Offline
    Jeremy Falcon
    wrote on last edited by
    #17

    It's not completely managed. Jeremy Falcon

    J 1 Reply Last reply
    0
    • J Judah Gabriel Himango

      Visual Studio 2002, 2003, and 2005 are managed applications.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      J Offline
      J Offline
      Joe Woodbury
      wrote on last edited by
      #18

      No, they are native applications that host the .NET runtime. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

      1 Reply Last reply
      0
      • J Jeremy Falcon

        Well, I'll be. Thanks for the link. Jeremy Falcon

        K Offline
        K Offline
        Kevin McFarlane
        wrote on last edited by
        #19

        And Windows Defender Beta 2 is written in Managed C++ apparently. Kevin

        1 Reply Last reply
        0
        • M Marc Clifton

          This article had me rolling on the floor. Is this guy for real? http://www.grimes.demon.co.uk/dotnet/vistaAndDotnet.htm[^] In the executive summary: Microsoft appears to have concentrated their development effort in Vista on native code development. In contrast to PDC03LH, Vista has no services implemented in .NET and Windows Explorer does not host the runtime, which means that the Vista desktop shell is not based on the .NET runtime. The only conclusion that can be made from these results is that between PDC 2003 and the release of Vista Beta 1 Microsoft has decided that it is better to use native code for the operating system, than to use the .NET framework. (I bolded the last) The "only" conclusion??? And so what? This is sort of a "duh" to me, writing an OS in native code. But I love this, near the end of a long and pointless article counting how many dll's Vista uses that are managed: My conclusion is that Microsoft has lost its confidence in .NET. They implement very little of their own code using .NET. The framework is provided as part of the operating system Lost confidence??? :rolleyes: The real reason, probably, is so the EU doesn't sue them for entangling the OS with .NET! hahaha. Anyways, what you think? Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures -- modified at 15:32 Tuesday 14th March, 2006

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #20

          Marc Clifton wrote:

          Anyways, what you think?

          Only a moron would implement the core components of an OS in managed code. Or someone with a very very fast computer.

          J J N 3 Replies Last reply
          0
          • N Nish Nishant

            David Stone wrote:

            BizTalk[^]. Both 2004 and 2006 are completely written in C#. That's 1.5 million LOC in 2004...and probably a lot more in 2006.

            Are you sure 2004 was 100% managed code, David? Regards, Nish


            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
            The Ultimate Grid - The #1 MFC grid out there!

            K Offline
            K Offline
            Kevin McFarlane
            wrote on last edited by
            #21

            Don't know about 2004 but 2006 apparently is. A colleague of mine did a week's BizTalk 2006 training in Seattle a few months ago and when I asked him about this he said yes. Of course, you never know, it could just be MS spin! But in any case I expect it's at least a substantial majority in C#. Kevin

            1 Reply Last reply
            0
            • N Nish Nishant

              Judah Himango wrote:

              Visual Studio 2002, 2003, and 2005 are managed applications.

              Less than 1% though. Regards, Nish


              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
              The Ultimate Grid - The #1 MFC grid out there!

              J Offline
              J Offline
              Jorgen Sigvardsson
              wrote on last edited by
              #22

              It's that 1% which makes it 99% slower? :rolleyes:

              S 1 Reply Last reply
              0
              • N Nish Nishant

                Judah Himango wrote:

                Visual Studio 2002, 2003, and 2005 are managed applications.

                Less than 1% though. Regards, Nish


                Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                The Ultimate Grid - The #1 MFC grid out there!

                J Offline
                J Offline
                Judah Gabriel Himango
                wrote on last edited by
                #23

                I don't think that's true Nish...are you sure? I was recently talking to a Microsoft dev who was telling me that Visual Studio is "lots and lots of C#, with a little C++ interop". I wish I could find the link for that.

                Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                J 1 Reply Last reply
                0
                • M Marc Clifton

                  This article had me rolling on the floor. Is this guy for real? http://www.grimes.demon.co.uk/dotnet/vistaAndDotnet.htm[^] In the executive summary: Microsoft appears to have concentrated their development effort in Vista on native code development. In contrast to PDC03LH, Vista has no services implemented in .NET and Windows Explorer does not host the runtime, which means that the Vista desktop shell is not based on the .NET runtime. The only conclusion that can be made from these results is that between PDC 2003 and the release of Vista Beta 1 Microsoft has decided that it is better to use native code for the operating system, than to use the .NET framework. (I bolded the last) The "only" conclusion??? And so what? This is sort of a "duh" to me, writing an OS in native code. But I love this, near the end of a long and pointless article counting how many dll's Vista uses that are managed: My conclusion is that Microsoft has lost its confidence in .NET. They implement very little of their own code using .NET. The framework is provided as part of the operating system Lost confidence??? :rolleyes: The real reason, probably, is so the EU doesn't sue them for entangling the OS with .NET! hahaha. Anyways, what you think? Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures -- modified at 15:32 Tuesday 14th March, 2006

                  S Offline
                  S Offline
                  Shog9 0
                  wrote on last edited by
                  #24

                  Marc Clifton wrote:

                  Vista has no services implemented in .NET and Windows Explorer does not host the runtime, which means that the Vista desktop shell is not based on the .NET runtime.

                  Isn't there something fundamental to the design of the runtimes that prevents multiple versions from being combined in a single process? Seems like a good enough reason to keep them out of widely-used OS components to me... :rolleyes:

                  Now taking suggestions for the next release of CPhog...

                  A D 2 Replies Last reply
                  0
                  • J Judah Gabriel Himango

                    I don't think that's true Nish...are you sure? I was recently talking to a Microsoft dev who was telling me that Visual Studio is "lots and lots of C#, with a little C++ interop". I wish I could find the link for that.

                    Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                    J Offline
                    J Offline
                    Jeremy Falcon
                    wrote on last edited by
                    #25

                    I do know the IDE code was based on classic VB's IDE. I don't know if they ported it over to .NET or not though. Jeremy Falcon

                    1 Reply Last reply
                    0
                    • J Jeremy Falcon

                      It's not completely managed. Jeremy Falcon

                      J Offline
                      J Offline
                      Judah Gabriel Himango
                      wrote on last edited by
                      #26

                      Yep it's a mixed app, both native and managed, but what large application uses 100% managed code, honestly? There are some things not possible with high level frameworks where you have to call some Win32 API, some native component, etc...our large rich client, while mostly managed, uses some native calls because there is no other option. It's not a slam on .NET, it simply that some things are actually operating-system specific or application-specific and have no reason to expose a managed equivalent (given that the OS or app is not managed code). When I think of a "managed application", I think of an app that uses the Common Language Runtime in some way.

                      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                      J 1 Reply Last reply
                      0
                      • J Jorgen Sigvardsson

                        It's that 1% which makes it 99% slower? :rolleyes:

                        S Offline
                        S Offline
                        Shog9 0
                        wrote on last edited by
                        #27

                        Well, it's an important enough 1% to make the IDE pretty much useless if you've botched the .NET runtime installation... :-O

                        Now taking suggestions for the next release of CPhog...

                        1 Reply Last reply
                        0
                        • D David Stone

                          BizTalk[^]. Both 2004 and 2006 are completely written in C#. That's 1.5 million LOC in 2004...and probably a lot more in 2006.

                          They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                          I'm after everything

                          S Offline
                          S Offline
                          Shog9 0
                          wrote on last edited by
                          #28

                          <troll> Yeah, but isn't BizTalk just Microsoft's take on [SAP|PeopleSoft]? Those sorts of apps have to be slow and dodgy, else no-one would take them seriously... </troll> :rolleyes:

                          Now taking suggestions for the next release of CPhog...

                          D 1 Reply Last reply
                          0
                          • M Marc Clifton

                            This article had me rolling on the floor. Is this guy for real? http://www.grimes.demon.co.uk/dotnet/vistaAndDotnet.htm[^] In the executive summary: Microsoft appears to have concentrated their development effort in Vista on native code development. In contrast to PDC03LH, Vista has no services implemented in .NET and Windows Explorer does not host the runtime, which means that the Vista desktop shell is not based on the .NET runtime. The only conclusion that can be made from these results is that between PDC 2003 and the release of Vista Beta 1 Microsoft has decided that it is better to use native code for the operating system, than to use the .NET framework. (I bolded the last) The "only" conclusion??? And so what? This is sort of a "duh" to me, writing an OS in native code. But I love this, near the end of a long and pointless article counting how many dll's Vista uses that are managed: My conclusion is that Microsoft has lost its confidence in .NET. They implement very little of their own code using .NET. The framework is provided as part of the operating system Lost confidence??? :rolleyes: The real reason, probably, is so the EU doesn't sue them for entangling the OS with .NET! hahaha. Anyways, what you think? Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures -- modified at 15:32 Tuesday 14th March, 2006

                            J Offline
                            J Offline
                            Judah Gabriel Himango
                            wrote on last edited by
                            #29

                            Some Microsoft apps that use the .NET framework and the Common Language Runtime[^]

                            Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                            N 2 Replies Last reply
                            0
                            • J Jorgen Sigvardsson

                              Marc Clifton wrote:

                              Anyways, what you think?

                              Only a moron would implement the core components of an OS in managed code. Or someone with a very very fast computer.

                              J Offline
                              J Offline
                              Judah Gabriel Himango
                              wrote on last edited by
                              #30

                              ...or these guys[^] :)

                              Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                              1 Reply Last reply
                              0
                              • J Judah Gabriel Himango

                                Yep it's a mixed app, both native and managed, but what large application uses 100% managed code, honestly? There are some things not possible with high level frameworks where you have to call some Win32 API, some native component, etc...our large rich client, while mostly managed, uses some native calls because there is no other option. It's not a slam on .NET, it simply that some things are actually operating-system specific or application-specific and have no reason to expose a managed equivalent (given that the OS or app is not managed code). When I think of a "managed application", I think of an app that uses the Common Language Runtime in some way.

                                Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                J Offline
                                J Offline
                                Jeremy Falcon
                                wrote on last edited by
                                #31

                                Judah Himango wrote:

                                There are some things not possible with high level frameworks where you have to call some Win32 API

                                The .NET runtime exposes most of the API. I don't see why you'd need to mix managed and unmanged for most cases. Jeremy Falcon

                                J 1 Reply Last reply
                                0
                                • S Shog9 0

                                  Marc Clifton wrote:

                                  Vista has no services implemented in .NET and Windows Explorer does not host the runtime, which means that the Vista desktop shell is not based on the .NET runtime.

                                  Isn't there something fundamental to the design of the runtimes that prevents multiple versions from being combined in a single process? Seems like a good enough reason to keep them out of widely-used OS components to me... :rolleyes:

                                  Now taking suggestions for the next release of CPhog...

                                  A Offline
                                  A Offline
                                  Anna Jayne Metcalfe
                                  wrote on last edited by
                                  #32

                                  Yes, there is. That limitation is the primary reason our add-ins are written in 100% native code...otherwise we'd have been forced to develop in VS2002 if we wanted to support it. :~ Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                                  1 Reply Last reply
                                  0
                                  • J Jeremy Falcon

                                    Judah Himango wrote:

                                    There are some things not possible with high level frameworks where you have to call some Win32 API

                                    The .NET runtime exposes most of the API. I don't see why you'd need to mix managed and unmanged for most cases. Jeremy Falcon

                                    J Offline
                                    J Offline
                                    Judah Gabriel Himango
                                    wrote on last edited by
                                    #33

                                    I agree. For our codebase, about 97% is written in managed code. That's pretty good, an a testament to the wide-coverage of the framework.

                                    Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      This article had me rolling on the floor. Is this guy for real? http://www.grimes.demon.co.uk/dotnet/vistaAndDotnet.htm[^] In the executive summary: Microsoft appears to have concentrated their development effort in Vista on native code development. In contrast to PDC03LH, Vista has no services implemented in .NET and Windows Explorer does not host the runtime, which means that the Vista desktop shell is not based on the .NET runtime. The only conclusion that can be made from these results is that between PDC 2003 and the release of Vista Beta 1 Microsoft has decided that it is better to use native code for the operating system, than to use the .NET framework. (I bolded the last) The "only" conclusion??? And so what? This is sort of a "duh" to me, writing an OS in native code. But I love this, near the end of a long and pointless article counting how many dll's Vista uses that are managed: My conclusion is that Microsoft has lost its confidence in .NET. They implement very little of their own code using .NET. The framework is provided as part of the operating system Lost confidence??? :rolleyes: The real reason, probably, is so the EU doesn't sue them for entangling the OS with .NET! hahaha. Anyways, what you think? Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures -- modified at 15:32 Tuesday 14th March, 2006

                                      M Offline
                                      M Offline
                                      Member 96
                                      wrote on last edited by
                                      #34

                                      Bah! It's a dead issue. There are a *lot* of applications out there written in fully managed code. We have a large commercial app used in over 34 countries at last count that is written in fully managed code. If I was writing an OS I would use native code as well. You don't pick up a screwdriver to hammer in a nail unless your an idiot. His argument is dogs bollocks.

                                      J J 2 Replies Last reply
                                      0
                                      • J Judah Gabriel Himango

                                        Some Microsoft apps that use the .NET framework and the Common Language Runtime[^]

                                        Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                        N Offline
                                        N Offline
                                        Nish Nishant
                                        wrote on last edited by
                                        #35

                                        Hey Judah That link says Visual Studio 2005 has parts written in managed code. And I am pretty sure it's a very low percentage. I don't remember where or when I asked that, but I did ask someone and the reply was that VS 2005 is a native app, that uses a little managed code. Regards, Nish


                                        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                        The Ultimate Grid - The #1 MFC grid out there!

                                        J 1 Reply Last reply
                                        0
                                        • J Judah Gabriel Himango

                                          Some Microsoft apps that use the .NET framework and the Common Language Runtime[^]

                                          Tech, life, family, faith: Give me a visit. I'm currently blogging about: Moral Muscle The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                          N Offline
                                          N Offline
                                          Nish Nishant
                                          wrote on last edited by
                                          #36

                                          Interestingly that link also says BizTalk 2004 has parts written in managed code. So I guess Stone got his facts wrong when he said it was written in managed code. The 1.5 million lines he said must be the total LOC out of which a % might be in managed code. Regards, Nish


                                          Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                          The Ultimate Grid - The #1 MFC grid out there!

                                          D 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups