3 ms·
The Windows equivalent is/was COM and in particlar OLE ("object linking and embedding"). With appropriate DLLs you can make a new file format and drag-and-drop
by pjc50 6y ago
The Windows equivalent is/was COM and in particlar OLE ("object linking and embedding"). With appropriate DLLs you can make a new file format and drag-and-drop a file into Word and open it inside Word.
The peak of this was ActiveX; in Microsoft's world around 2000, they really wanted you to be able to embed controls and programs in web pages and then put those web pages everywhere, including on the desktop background ("active desktop").
The problem of running third-party code inside your application is not just security but it tends to crash bady and put the name of the hosting application on the crash. Eventually Microsoft got so fed up with that, especially in the kernel, they built a system where video drivers could crash and restart while the OS kept on trucking, and use of COM has faded.
- toyg 6y ago> The Windows equivalent is/was COM and in particlar OLE [...] it tends to crash badly The mistake was implementing this stuff in C++, which is way too fragile on its own. Had they built a separate VM to manage requests for these objects, it would have been no problem: VM crashes, host app just restarts it. But Java did not exist yet and VMs were not really a thing, resources were too scarce. I do think the ideas behind COM/OLE were pretty good, unfortunately real development on desktop OSes basically stopped mid-'00s so we might never know what it could have been.
- pjmlp 6y agoUWP is COM + .NET type system, and the basis of modern stuff like WinUI and React Native on Windows.
- pjmlp 6y agoFor those not following up with Windows development, all major new Windows APIS since XP are ActiveX aka COM aka WinRT aka UWP. COM is pretty much alive and was modernised with .NET type system.