News for hackers. Stuff that matters.
Re:Designing a COM Library for Rust by emddudley on Wednesday October 09, 2019 @05:53PM (#21208559)
> I haven't really heard or seen much usage of it since.

I think COM is incomprehensible to most developers today--it certainly is to me, and I maintained a .NET application with COM components for several years! COM is so arcane and verbose.

Why invest hundreds of hours learning something with no clear benefit or future? The documentation introduces COM as:

https://docs.microsoft.com/en-us/windows/win32/com/component...

> COM is a platform-independent, distributed, object-oriented system for creating binary software components that can interact. COM is the foundation technology for Microsoft's OLE (compound documents) and ActiveX (Internet-enabled components) technologies.

What does that even mean? It sounds obsolete.

Re:Designing a COM Library for Rust by ralphc on Wednesday October 09, 2019 @10:28PM (#21210298)
When I read the headline it was a mix of WHYYYYYYYY and NOOOOOOO

Really, can't we just leave COM in the 90's?

Re:Designing a COM Library for Rust by pjmlp on Thursday October 10, 2019 @01:16AM (#21211152)
Win32 is the one left in the 90's.

COM gets regularly new APIs.

Re:Designing a COM Library for Rust by pjmlp on Thursday October 10, 2019 @01:15AM (#21211150)
Except the one without a bright future is Win32.

Since Vista all major APIs are based on COM.

Re:Designing a COM Library for Rust by emddudley on Thursday October 10, 2019 @11:35AM (#21215732)
My point is that for the vast majority of developers this does not matter one bit. The Windows API is not relevant to the work that most developers do today. In the cases where a developer actually needs to interact with Windows there are easier technologies available.
Re:Designing a COM Library for Rust by pjmlp on Friday October 11, 2019 @09:49AM (#21224300)
Yeah, if we are talking about web developers I guess.

How do you think those easier technologies are implemented?

Just to give an example, React Native for Windows uses UWP.

As for not being relevant, the software for a platform with 80% market share across desktop and laptops, does not write itself.