Live data from Hacker News

Porting Swift to Haiku

haiku-os.org

21–30 of 53 posts

Re: Porting Swift to Haiku

#21
post #13
post #4

the bare minimum it needs is an IDE that can be used to code apps for the OS itself. and after that being able to run all kinds of programming languages. Personally i'd like to see the latest version of ruby work and postgres. But also docker support would suffice too.

> IDE that can be used to code apps for the OS itself I'm pretty sure Haiku has exactly that already? Pretty sure it did last time I ran it...

Haiku has an editor. Perhaps that's what you're remembering?

Re: Porting Swift to Haiku

#23
post #4

the bare minimum it needs is an IDE that can be used to code apps for the OS itself. and after that being able to run all kinds of programming languages. Personally i'd like to see the latest version of ruby work and postgres. But also docker support would suffice too.

>the bare minimum it needs is an IDE

Huh? Wouldn't the "bare minimum" be a programming editor?

Re: Porting Swift to Haiku

#25
post #7

I wonder what the plan is for getting swift interop with C++, given that all the Be/Haiku APIs are C++ (IIRC) and swift has no ability to call into C++ code directly.

you can call c/c++/obj-c functions from swift

Re: Porting Swift to Haiku

#27
post #25
post #7

I wonder what the plan is for getting swift interop with C++, given that all the Be/Haiku APIs are C++ (IIRC) and swift has no ability to call into C++ code directly.

you can call c/c++/obj-c functions from swift

You can call C and Obj-C. You can't call C++ code directly, it would have to go through a C/Obj-C shim first.

Re: Porting Swift to Haiku

#29

Earlier quoted context omitted.

I believe there is also a working Rust port. Still, more options is nice.

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.

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

#30

Earlier quoted context omitted.

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.

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.

Excellent!
Post reply on HN