4 ms·
The dream of COM is alive in Cupertino!
by nimish 4y ago
The dream of COM is alive in Cupertino!
- CGamesPlay 4y agoNot really? The example for Messages seems very specific; closer to an API for Messages.app than a generic process interop framework.
- zdw 4y agoOpenDoc would be more relevant to Apple: https://en.wikipedia.org/wiki/OpenDoc https://en.wikipedia.org/wiki/OpenDoc
- deleted 4y ago[deleted]
- Kukumber 4y agoThey at least decided to go with a sane language instead of C++ Also is it really COM like? it doesn't look like it EDIT: https://www.chimehq.com/blog/extensionkit-intro https://www.chimehq.com/blog/extensionkit-intro https://news.ycombinator.com/item?id=33410067 https://news.ycombinator.com/item?id=33410067
- duped 4y agoCOM is language agnostic.
- kijiki 4y agoLanguage agnostic in that COM lets you use the C++ object model in any language you want.
- duped 4y agoNot really except in that QueryInterface returns a pointer to a struct of function pointers. It doesn't place a requirement on the layout of the object (for example you can use a fat pointer for a COM object, which is incompatible with the C++ object model)
- pjmlp 4y agoOn top of the sibling comment, as of WinRT, COM has been extended with a new ABI, based on additional base interface (IInspectable), replacing TLB libraries with .NET metadata, and support for generics (.NET style). So it isn't the C++ object model per se.
- dwaite 4y agoAs someone who programmed COM back in the day for C++ applications, I can tell you definitively that you got no benefits over other languages outside of brittle macros and non-standardized Visual C++ compiler magics. Especially once you crossed over into Office/VB land, and everything was just IDispatch, Variants, BSTRs and SafeArrays.
- pjmlp 4y agoCOM has been alive for quite some time, not only does Taligent and Copland ideas precede it (the IDL is lously based on DCE/RPC), similar ideas are used in the IOKit, DriverKit and XPC.