Re:How I Wrote a Modern C++ Library in Rust
by pjc50 on Monday December 03, 2018 @10:26AM
(#18589441)
Much of COM's horror comes from being an OO interop system designed to work in non-OO C. All sorts of manual reference counting. If you use COM objects in C# it's much less horrifying, although there's a certain amount of "body horror" involved in firing up one whole windows application inside another one. You can run IE in a cell of an Excel spreadsheet, but that doesn't make it a good idea.
[ Parent
| on HN ]
Re:How I Wrote a Modern C++ Library in Rust
by reitanqild on Monday December 03, 2018 @11:43AM
(#18590157)
> You can run IE in a cell of an Excel spreadsheet, but that doesn't make it a good idea.
Embedding a MS Works worksheet in a MS Works document however was sometimes a good idea in '95.
I've yet to see a better implementation than that and I find it really disappointing that the state of the art has moved backwards in this area (in addition to UX and performance relative to hardware specs).
Re:How I Wrote a Modern C++ Library in Rust
by maxxxxx on Monday December 03, 2018 @01:08PM
(#18591181)
I agree. Apple also had an effort called "OpenDoc" which they gave up on.
Re:How I Wrote a Modern C++ Library in Rust
by maxxxxx on Monday December 03, 2018 @10:49AM
(#18589611)
Working with VB made COM really nice. Both for writing COM servers and consuming them. C# is actually a step back because it doesn't do the reference counting right and instead relies on GC to free objects.