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. Why Microsoft dropped COM

Why Microsoft dropped COM

Scheduled Pinned Locked Moved The Lounge
csharpcomagentic-aiquestion
24 Posts 12 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 James R Twine

    Chris Losinger wrote: COM sucks.    Is it that COM itself sucks, or that the ways in which it is most commonly (mis)used sucks?  IME, it has usually been more of the latter.     Peace! -=- James.

    C Offline
    C Offline
    Chris Losinger
    wrote on last edited by
    #13

    i dislike the fact that it's not a real OO system - no virtual functions, in particular. the ref counting stuff is a nightmare, even with smart pointers. blah. get rid of it. -c


    Conscience is what hurts when everything else feels good. Smaller Animals Software, Inc.

    J 1 Reply Last reply
    0
    • T Tim Smith

      It should read "Why MS didn't use COM's ref counting for GC" Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

      J Offline
      J Offline
      Joao Vaz
      wrote on last edited by
      #14

      Yup, you have right, my title is incomplete, but I confess that I was lazy to write the rest... but although, the title well is incomplete ... it worked well, since some people fully readed the article and one guy rightly claimed that was incomplete, so it achieved his goals ... Cheers, Joao Vaz Unhappy TCL programmer

      T 1 Reply Last reply
      0
      • J Joao Vaz

        Nice read to understand the reasoning behind no deterministic finalization and garbage collection that Microsoft uses with .NET . The Why of GC Cheers, Joao Vaz Unhappy TCL programmer

        F Offline
        F Offline
        Fazlul Kabir
        wrote on last edited by
        #15

        Though I understand why MS had to adopt GC (and drop deterministic finalization) for inter-language interoperability, I will equally miss a lot the plain C++ style deterministic finalization through creating class instances on the stack (such as CMyDialog dlg; instead of CMyDialog* pDlg = new CMyDialog(); ). It’s just so handy. With .NET, the only way I can use a class object is by creating that using 'new' operator. // Fazlul


        Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

        J 1 Reply Last reply
        0
        • J Joao Vaz

          Yup, you have right, my title is incomplete, but I confess that I was lazy to write the rest... but although, the title well is incomplete ... it worked well, since some people fully readed the article and one guy rightly claimed that was incomplete, so it achieved his goals ... Cheers, Joao Vaz Unhappy TCL programmer

          T Offline
          T Offline
          Tim Smith
          wrote on last edited by
          #16

          Heh Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

          1 Reply Last reply
          0
          • C Chris Losinger

            my head hurts. ouch. COM sucks. i'm glad MS is finally de-emphasizing it. -c


            Conscience is what hurts when everything else feels good. Smaller Animals Software, Inc.

            S Offline
            S Offline
            Stan Shannon
            wrote on last edited by
            #17

            Chris Losinger wrote: COM sucks I agree. COM was a hack from the start. Not without its uses perhaps, but certianly over sold and over used. If .Net manages to kill it, all the better. "There's a slew of slip 'twixt cup and lip"

            1 Reply Last reply
            0
            • C Chris Losinger

              i dislike the fact that it's not a real OO system - no virtual functions, in particular. the ref counting stuff is a nightmare, even with smart pointers. blah. get rid of it. -c


              Conscience is what hurts when everything else feels good. Smaller Animals Software, Inc.

              J Offline
              J Offline
              James R Twine
              wrote on last edited by
              #18

              Chris Losinger wrote: i dislike the fact that it's not a real OO system    Maybe I am being a bit pedantic here, but I was under the impression that COM was supposed to be a Component system (and a binary-hack at that), not a full-blown OO system... :)    Methinks problems start when people treat COM like a full-blown OO system. Chris Losinger wrote: the ref counting stuff is a nightmare, even with smart pointers. [...] blah. get rid of it.    True as hell!  I agree on both points! :)    Peace! -=- James.

              1 Reply Last reply
              0
              • F Fazlul Kabir

                Though I understand why MS had to adopt GC (and drop deterministic finalization) for inter-language interoperability, I will equally miss a lot the plain C++ style deterministic finalization through creating class instances on the stack (such as CMyDialog dlg; instead of CMyDialog* pDlg = new CMyDialog(); ). It’s just so handy. With .NET, the only way I can use a class object is by creating that using 'new' operator. // Fazlul


                Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

                J Offline
                J Offline
                Joao Vaz
                wrote on last edited by
                #19

                Fazlul Kabir wrote: I will equally miss a lot the plain C++ style deterministic finalization Me too, and dealing with MC++ is tricky enough to get a ****** feeling ... Cheers, Joao Vaz Unhappy TCL programmer

                1 Reply Last reply
                0
                • M Michael P Butler

                  Chris Losinger wrote: COM sucks. i'm glad MS is finally de-emphasizing it. Really? I love COM, but it took me a while to get to grips with it. It finally all made sense after reading Essential COM. I'm sad to see it go, but as least it has evolved rather than been made extinct. Michael :-)

                  S Offline
                  S Offline
                  SimonS
                  wrote on last edited by
                  #20

                  Michael P Butler wrote: Essential COM After reading David Chappell's Understanding ActiveX and OLE I had to go on sabatical for 3 months... ;P Cheers, Simon "I get paid for my brain and my thinking in several obscure worlds", Olli, The Lounge

                  1 Reply Last reply
                  0
                  • J Joao Vaz

                    Nice read to understand the reasoning behind no deterministic finalization and garbage collection that Microsoft uses with .NET . The Why of GC Cheers, Joao Vaz Unhappy TCL programmer

                    S Offline
                    S Offline
                    SimonS
                    wrote on last edited by
                    #21

                    Very cool article. Saw it a while ago, but must be one of the most published links that I've come across. Cheers, Simon "I get paid for my brain and my thinking in several obscure worlds", Olli, The Lounge

                    J 1 Reply Last reply
                    0
                    • S SimonS

                      Very cool article. Saw it a while ago, but must be one of the most published links that I've come across. Cheers, Simon "I get paid for my brain and my thinking in several obscure worlds", Olli, The Lounge

                      J Offline
                      J Offline
                      Joao Vaz
                      wrote on last edited by
                      #22

                      simons wrote: Very cool article Indeed it is. Nothing better to known the Microsoft reasoning to better understand the current state of affairs concerning .NET (sounds like a political) simons wrote: but must be one of the most published links that I've come across. Without a doubt Brian Harry with his earned popularity due to this post should run up for President !!! :laugh: Joao Vaz Unhappy TCL programmer

                      1 Reply Last reply
                      0
                      • J Joao Vaz

                        Nish, check this Garbage Collection Faq and on MSDN specifically for GC on NET by Jeffrey Ritcher ... GC Part 1 GC Part 2 This articles are more approachable to understand GC on .NET . Cheers, Joao Vaz Unhappy TCL programmer

                        A Offline
                        A Offline
                        Andrew Peace
                        wrote on last edited by
                        #23

                        Yeah, I'd read the two part GC article in MSDN Mag before nad thought it was really good. Not had chance to read the one posted in the thread starter yet though, but will be having a look through it soon. -- Andrew.

                        J 1 Reply Last reply
                        0
                        • A Andrew Peace

                          Yeah, I'd read the two part GC article in MSDN Mag before nad thought it was really good. Not had chance to read the one posted in the thread starter yet though, but will be having a look through it soon. -- Andrew.

                          J Offline
                          J Offline
                          Joao Vaz
                          wrote on last edited by
                          #24

                          The 2 articles on MSDNMag are very cool, Jeffrey Ritcher really explains the things in english. Very nice indeed :-D Cheers, Joao Vaz Unhappy TCL programmer

                          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