Live data from Hacker News

Swift 6.3

swift.org

1–10 of 239 posts

Re: Swift 6.3

#4
post #2

> Swift 6.3 includes the first official release of the Swift SDK for Android.

That is going to be used... less than Swift for the servers

I don't know. Could be nice for those developers that prioritize iOS and now they could keep writing Swift also for Android.

Is it gonna be what you primarily use if you wanna write an Android app? Probably not.

Is it gonna displace react Native? Probably not. Is it gonna reach the levels of flutter? Maybe.

Re: Swift 6.3

#6
> Swift is designed to be the language you reach for at every layer of the software stack.

It's a nice lang for sure, but this will never be true with the way things are. Such wasted opportunity by Apple.

Re: Swift 6.3

#7

Earlier quoted context omitted.

That is going to be used... less than Swift for the servers

I don't know. Could be nice for those developers that prioritize iOS and now they could keep writing Swift also for Android. Is it gonna be what you primarily use if you wanna write an Android app? Probably not. Is it gonna displace react Native? Probably not. Is it gonna reach the levels of flutter? Maybe.

The language doesn’t really matter. The underlying SDK/framework is where the action is at.

However, I suspect that we may not be too far off, from LLMs being the true cross-platform system. You feed the same requirements, with different targets, and it generates full native apps.

Re: Swift 6.3

#8
> Swift 6.3 introduces the @c attribute, which lets you expose Swift functions and enums to C code in your project. Annotating a function or enum with @c prompts Swift to include a corresponding declaration in the generated C header that you can include in your C/C++ files

Why did this take so long to be added? Such strange priorities. Adding an entire C++ compiler for C++ interoperability before adding... C exports. Bizarre.

Re: Swift 6.3

#9

> Swift 6.3 introduces the @c attribute, which lets you expose Swift functions and enums to C code in your project. Annotating a function or enum with @c prompts Swift to include a corresponding declaration in the generated C header that you can include in your C/C++ files Why did this take so long to be added? Such strange priorities. Adding an entire C++ compiler for C++ interoperability before adding... C exports.…

They had it earlier, as an underscored attribute.

Re: Swift 6.3

#10
Whats the stdlib situation for swift in comparison to newish languages like go or rust. I know its not batteries included lke python - and doesnt have a massive dev ecosystem of helper libs seeming to be mostly tied to macOS/iOS operating system API/ABI.
Post reply on HN