Live data from Hacker News

Interoperability: Swift’s Super Power

browsercompany.substack.com

1–10 of 74 posts

Re: Interoperability: Swift’s Super Power

#3

Based on the title I really thought this would about the SWIFT (messaging system) and interoperability (Interledger protocol). I really need to stop reading crypto articles. Its taking over my tech side.

SWIFT as in the Fintech/banking thing? It's amazing how fast my memory of things goes after I switch jobs, I had to ask ChatGPT to refresh my memory.

""" SWIFT stands for the Society for Worldwide Interbank Financial Telecommunication. It is a global messaging network used by banks and financial institutions to securely and efficiently exchange information, particularly for international money transfers and transactions. SWIFT codes are used to identify banks and facilitate the transfer of funds between them. It plays a crucial role in international banking and financial communication. """

I didn't know SWIFT was involved at all in crypto stuff, at least not directly. I guess finance is the world's most interconnected network, however, so I shouldn't be too surprised.

Re: Interoperability: Swift’s Super Power

#4
I would like to see a comparison of how this compares to Rust. In terms of interoperability it has Cxx (https://cxx.rs) to offer safe bindings to C++ but also has great support for Android, Linux and many other systems. You don't even need to hack together Windows bindings (as explained in the blog post) because Microsoft offers official bindings (https://crates.io/crates/windows). I'm not sure if I'd call it a superpower if any potential interoperability has to be written to be used (compared to it already being available). Or rather, in comparison to what is interoperability a Swift superpower? Certainly not C++ or C which can be used in a far wider set of targets.

Re: Interoperability: Swift’s Super Power

#5

Based on the title I really thought this would about the SWIFT (messaging system) and interoperability (Interledger protocol). I really need to stop reading crypto articles. Its taking over my tech side.

I thought it was about Taylor Swift and how she crashed Ticketmaster and it’s interoperability systems

Re: Interoperability: Swift’s Super Power

#7
I'm quite bullish on this method of cross-platform i.e. a common shared core leveraging native UI toolkits. Every incarnation of cross-platform on the market today sits somewhere between mediocre and bad in terms of the resulting UX. This approach strikes a good balance between sharing code and being platform native I think. Swift is a good contender for doing this and so is, I think, Rust.

Re: Interoperability: Swift’s Super Power

#10
Hmm...Swift never struck me as a particularly interoperable design. Really rather the opposite. It has weird and super-specific calling conventions, requires mangled identifiers, is uber-static, uses Swift syntax for its "module" files etc.

And it turns out...

"Instead, Swift embeds a copy of clang, the C and C++ compiler,"

...well gosh, you can brute force "interoperability" by simply creating the union of all the languages you "interoperate" with.

https://www.youtube.com/watch?v=XqUgUgiToNs

"The F4 Phantom, America's proof to the world that with a big enough engine, even a brick can fly"

Post reply on HN