News for hackers. Stuff that matters.
Re:Microsoft's “Love” of Linux by garganzol on Thursday November 21, 2019 @12:16PM (#21596532)
COM is good and it is anything except disaster. It its raw form, COM is just a small and natural abstraction over plain C interface.

Just like a C interface is a small and nice abstraction over plain registers/stack call models of the past.

The advent of calling conventions like C was a huge step forward in 1970s. Before that, there was a mad zoo of passing parameters via random CPU registers and praying that you made no mistake and it would work without a crash.

COM is no different. IUnknown is just 3 methods (QueryInterface, AddRef, RemoveRef) over a plain C. It immediately brings an ability to use service model design in APIs.

There are no comments on this comment yet.