News for hackers. Stuff that matters.
Re:Porting Swift to Haiku by throwaway7645 on Friday June 23, 2017 @07:18AM (#14618339)
If I had to guess, it looks like someone wanted a really fast language with high level features. They could've also ported D, Rust, Nim...etc, but Swift is not a bad one to port. What is most of Haiku written in, C++? I think Swift would be a good app language now that it is Open Source.
Re:Porting Swift to Haiku by yjftsjthsd-h on Friday June 23, 2017 @07:31AM (#14618385)
I believe there is also a working Rust port. Still, more options is nice.
Re:Porting Swift to Haiku by petecox on Friday June 23, 2017 @09:36AM (#14619037)
If they have LLVM up and running then any language that depends on it (swift, rust) should be doable.
Re:Porting Swift to Haiku by steveklabnik on Friday June 23, 2017 @11:08AM (#14619696)
https://forge.rust-lang.org/platform-support.html

* i686-unknown-haiku

* x86_64-unknown-haiku

They're basically cross-compile only, Tier 3 supported at the moment.

Re:Porting Swift to Haiku by jessic4h on Friday June 23, 2017 @12:09PM (#14620198)
It hasn't been packaged yet, but I've both bootstrapped rustc & cargo, and also compiled rustc & cargo on Haiku itself from the bootstrap packages, so it shall be self-hosting from here on out.
Re:Porting Swift to Haiku by steveklabnik on Friday June 23, 2017 @12:14PM (#14620242)
Excellent!