Hacker Newsnew | past | comments | ask | show | jobs | submit | ttflee's commentslogin

It is really a difficult choice in front of me: DeepSeek v4 flash 0731@q2 vs Qwen 3.{6,8} 27B@fp8 on a 96GB VRAM server.


Why not using Swift?


Swift is very weak outside Apple ecosystem, compared to Rust. Not sure nowadays, but Swift used to have breaking changes each major release, that's a non go for a big project.


But Swift has a stable ABI which neither Zig nor Rust could provide.


How important is stable ABI for projects like Bun? I think it only matters if you are building a shared library.


only on macOS. On other platforms ABI is not stable.


Andreas Kling talked about it. It boils down to C++ interop sucks (no surprise for lang made by Apple), ecosystem is tiny, Rust works well enough with LLMs.

https://youtu.be/DbHjKi_jASY


Swift is one of the few toolchains that actually has some kind of builtin C++ interop, alongside Objective-C++, D, .NET (via C++/CLI), Carbon (eventually).


He just wanted to use LLMs for coding, and not enough training data on Swift code exists for his use case. Admitting to that would be rather silly, so here we have this sentiment now exist rent free in people's brains.

The C++ interop of Swift is perfectly fine, to such a degree that FoundationDB is now using it effectively alongside its C++ origins.


He is autistic, and has ADHD.


Perhaps we could do it in Python in the first pass for validation purpose. And then vibe rewrite it in Haskell.


Hope that the `metered connection` option was toggled on.


Lol.

Windows update in space has to be a banned torture method.


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


Anything similar for Windows and Linux?

For Windows there's a 5 year old blog post: https://www.swift.org/blog/swift-on-windows/

For Linux there's a guide for GNOME: https://www.swift.org/blog/adwaita-swift/

It would be really nice if instead we could just do one style of development and then ship a set of libraries as used to work for OpenSTEP (which was why it had "OPEN" in the name).


Swift on Windows has been part of the official distribution for a long time:

https://www.swift.org/install/windows/


The blog posts seems to place higher on search results --- maybe arrange to have it edited?

Which GUI toolkit(s) does that install support?


None, you’re on your own. The Browser Company made bindings for WinRT so you can use WinUI imperatively but it’s non trivial to set up.


I haven't shipped any Swift on Windows myself but I have a production Linux system using Swift (and C++ interop) and it works really well


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


Interestingly, Kotlin has a pretty solid cross-platform story.

I'd pick it over Swift if targeting Android since it can build and run in the JVM as well as natively -- and has Swift/ObjC interop. Its also very usable on the server if you wanted to, since you can use it in place of Java and tap into the very mature JVM ecosystem. If that's what you're into.

And I have a lot more faith in JetBrains being good stewards of the language rather than Apple, who have a weird collection of priorities.


Kotlin is practically a no-brainer when you have JVM at your finger tips, versus something like Swift which is comparatively young.

I tried to use Vapor with Swift recently and struggled to get something working because the documentation looked comprehensive, but had a lot of gaps. I ended up throwing it out because I didn't have the time to dig through the source to understand how to do something, when I could use a mature framework in any other language instead.

The promise is there but I'm just not ready to invest. My youthful days of unbounded curiosity are coming to an end and these days I just want to get something done without much faff.


Mind you, Kotlin/Native (which is what gets used when you're compiling for iOS) doesn't have access to the JVM.

However, the Kotlin community is fundamentally all about open source, whereas Apple & iOS Devs have an allergy to it. The quality and quantity is already miles above the vast majority of what's in the Swift ecosystem. https://klibs.io has all the native compatible libs. And if you're targeting a platform where the JVM is available then yeah, it's massive. Compose makes UI tolerable compared to JWT too. Even large projects like Spring are Kotlin first nowadays.


JetBrains has monetary interest in promoting Kotlin beyond Android, there’s zero incentive to promote Swift as the language outside of iOS and Mac. They don’t need to capture minds of devs for them to develop for Apple devices.


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.


> from LLMs being the true cross-platform system

Fully agree. I have zero Swift knowledge and currently use LLM to write a native app. I'm well aware of the SDKs and concepts in iOS development, so even if something's wrong I got intuition where to look and how to make the LLM fix it.


I’m not sure about that but porting libraries from one language to another seems well within their capabilities.


I don't think we're there yet, but I suspect that it's just a matter of time.

It would certainly be quite profitable. Money tends to drive progress.


> Is it gonna reach the levels of flutter? Maybe.

Never. It won’t even reach Compose level, Flutter level DX is unattainable for any framework outside Flutter.


This is going to be used much more than Swift for servers. Swift is a primarily client-side mobile language. It makes sense that you tap into reusing the logic.


Just like .NET for linux... right? RIGHT?


At least a very common .NET web app framework is often deployed on linux. Powershell for linux might be more apt lol



I guess the day that a corporate AI could easily fake all my online existence is drawing nigh.


`perldoc perlrun`


TLDR: The video got VAEed, and we are the discriminators being fooled.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: