News for hackers. Stuff that matters.
Re:Interoperability Between Swift and C++ by ianlevesque on Saturday October 17, 2020 @02:17PM (#24811956)
We could call it something like "Common Language Infrastructure" or COM maybe.
Re:Interoperability Between Swift and C++ by mpweiher on Saturday October 17, 2020 @04:12PM (#24812867)
And then remember that Objective-C is, essentially, COM with language support.
Re:Interoperability Between Swift and C++ by mlindner on Saturday October 17, 2020 @05:12PM (#24813421)
Unfortunately COM was never OS independent so that kind of killed it off. It was also runtime instead of compile-time.
Re:Interoperability Between Swift and C++ by pjmlp on Sunday October 18, 2020 @02:08AM (#24815834)
Why the past tense? COM is alive and well, being the way the large majority of Windows APIs get introduced since Vista.

While COM is Windows specific, other implementations with similar ideas do exist.

IBM and Unisys mainframe language environment, gRPC, D-Bus, XPCOM, SOM, Android IPC, Fuschia IPC.

Re:Interoperability Between Swift and C++ by flohofwoe on Saturday October 17, 2020 @07:26PM (#24814252)
Indeed, COM has some right ideas. There's just too much influence from the mid-90's OOP hype in it.
Re:Interoperability Between Swift and C++ by pjmlp on Sunday October 18, 2020 @02:09AM (#24815837)
What? COM is the most successful implementation of ECS, I thought it was fashionable nowadays.
Re:Interoperability Between Swift and C++ by estebank on Saturday October 17, 2020 @10:37PM (#24815120)
If you want to make a cross language protocol that most languages can support, OOP concepts will need to be first class citizens.
Re:Interoperability Between Swift and C++ by AlexanderDhoore on Saturday October 17, 2020 @03:23PM (#24812447)
Should I post the xkcd? Here goes: https://xkcd.com/927/