| ▲ | bri3d 3 days ago | ||||||||||||||||
> COM is basically just reference counting and interfaces. > I remember a few years back hearing hate about COM and I didn't feel like they understood what it was. Even in "core" COM there's also marshaling, the whole client/server IPC model, and apartments. And, I think most people encounter COM with one of its friends attached (like in this case, OLE/Automation in the form of IDispatch), which adds an additional layer of complexity on top. Honestly I think that COM is really nice, though. If they'd come up with some kind of user-friendly naming scheme instead of UUIDs, I don't even think it would get that much hate. It feels to me that 90% of the dislike for COM is the mental overhead of seeing and dealing with UUIDs when getting started. Once you get past that part, it's really fast to do pretty complex stuff in; compared to the other things people have come up with like dbus or local gRPC and so on, it works really well for coordinating extensibility and lots of independent processes that need to work together. | |||||||||||||||||
| ▲ | pjc50 2 days ago | parent [-] | ||||||||||||||||
Even the UUIDs aren't bad, they're a reasonable solution to Zooko's triangle. You can't globally assign names. | |||||||||||||||||
| |||||||||||||||||