Swift on and for Haiku

Hmm, could be interesting. It would be interesting to colaborate with them since the language is beeing formed.

But: their coms are discord and github, and they need a cla.
(no xmpp, no irc, no email)

edit: apparently also google drive and google calendar… funky

Those are too many hurdles for me to contribute. Too bad : /

100% interoperability with C++ wouldn’t be my priority. I mean, everyone’s going to decide for themselves what creek they want to paddle up, but there are a lot of languages with other attractive features and not that one, and you don’t really need it. I mean, I’ve used the Be API with Python, Haskell and Ocaml, and they sure aren’t C++ interoperable.

Swift seems nice, but to me not really a typical open source project. The things we bring on board to Haiku are typically sort of guerilla projects for a while, that is, back at headquarters they may not know about the existence of a Haiku port right away, until it becomes a real thing that’s worth upstreaming patches etc. That seems somewhat foreign to Swift world, and I wonder how easy it will be to get Haiku on the list.

1 Like

This is due to being very early stage. C++ interoperability is available from Swift 5.9.
I think it will be polished and improved over time.

We already have bindings to the Haiku API for C# and Python but with their own caveats and limitations, though.

No, I would like to use an alternative to C++ to write Haiku apps.

2 Likes

Has Swift 6.0 been ported yet?