4 ms·
Anyone developping in Swift on Linux ? How much of an uphill battle is it ?
by cassepipe 3y ago
Anyone developping in Swift on Linux ? How much of an uphill battle is it ?
- georgelyon 3y agoI have in several capacities over the past few years. VSCode works pretty well with the sswg extension (powered by sourcekit-lsp). Devcontainers are particularly nice if you are into that sort of thing (I develop in a Linux container on a macOS host). I actually find it easier to experiment with new toolchains (for example, the nightlies) in the Linux container than on my host machine (which requires more manual setup).
- ngcc_hk 3y agoWonder which linux container - docker, Lima, vm …
- frizlab 3y agoI’m developing a full backend using Vapor. Fluent (Vapor’s ORM) is a bit raw but that’s being worked on, otherwise it’s very pleasant. Vapor’s community (on Discord) is great! I compile in a Docker, and deploy the resulting image (multi-step docker file, first step for compilation, second step copy the resulting binaries). Installing Swift on Linux is a one-liner now if you want to avoid Docker https://swift-server.github.io/swiftly/ https://swift-server.github.io/swiftly/. EDIT: Two-liners actually: first install swiftly then install Swift…
- _mlbt 3y agoIt’s in Fedora’s repos. “sudo dnf install swiftlang” is all it takes to get started. https://developer.fedoraproject.org/tech/languages/swift/swift_installation.html https://developer.fedoraproject.org/tech/languages/swift/swi...