Swift Static Linux SDK

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. swift-embedded-examples

    A collection of example projects using Embedded Swift

    Swift on Zephyr! I wonder if you can attach a debugger to it? https://github.com/apple/swift-embedded-examples/tree/main/n...

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Tokamak

    SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms

    https://github.com/TokamakUI/Tokamak (WASM + MacOS + some Ubuntu support)

    They both had to rewrite the entire backend from scratch, because SwiftUI is very, very closed source. But Tokamak does have an import that just forwards to SwiftUI on Apple platforms.

  4. Vapor

    💧 A server-side Swift HTTP web framework.

    I haven't used it yet, but I've heard really good things about Vapor as far as server side Swift goes...

    https://vapor.codes

  5. language

    Design of the Dart language

    For now but this is in the pipeline too.

    https://github.com/dart-lang/language/blob/main/working/333%...

  6. qtdeclarative

    Qt Declarative (Quick 2)

    There’s a very minimal example using C++ interop in Qt’s test suite:

    https://github.com/qt/qtdeclarative/tree/dev/tests/manual/he...

    I’ve kicked around with the C++ interop a few times. Projects like Qt that use raw pointers extensively seem hard to expose. Ended up having to wrap Qt classes to model as a value type which was straight forward but it’s not nearly as seamless as the Objective-C++ experience

  7. swift-nio

    Event-driven network application framework for high performance protocol servers & clients, non-blocking.

    I'm guessing they clicked onto the Built with SwiftNIO link and saw this at https://github.com/apple/swift-nio.

  8. swift-openapi-generator

    Generate Swift client and server code from an OpenAPI document.

    You're right. This actually is first class Apple[0] and can't get any better than that whereas with Go, I am stuck with so many third party packages. They work well but kinda... not so elegant. Decent enough given what the language can offer.

    [0] https://github.com/apple/swift-openapi-generator

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. swift-for-wasm-examples

    https://github.com/apple/swift-for-wasm-examples?tab=readme-...

  11. SwiftGtk

    A Swift wrapper around gtk-3.x and gtk-4.x that is largely auto-generated from gobject-introspection

    SwiftUI workalikes: Tokamak [4] and SwiftCrossUI [5]

    After exploring most of these for my use case (something that needs to run on an "embedded" RPi CM4 as well as iOS), I wrote a Swift bridge/runner for Flutter [6] which is working well. That enables me to write the UI in Dart and the business logic in Swift. I looked at all the other options below (that's how I know about them, indeed [3] I wrote as part of my research), in the end I felt that none of them were at the time of investigating sufficiently mature to base a product around.

    [1] https://github.com/rhx/SwiftGtk

  12. qlift

    Swift library to use Qt

  13. LVGLSwift

  14. FlutterSwift

    Flutter and Swift integration for iOS, macOS, Android and eLinux

  15. go

    The Go programming language

    This melding of the sync and the async is actually kinda interesting to me. I know that at least in lots of environments, the sync and async paths are effectively separate for things like I/O[1]. I wondered (and still do for some cases) how Go handles this.

    For those curious I looked at Windows and Linux, but not much else.

    Linux: no io_uring support. There's debate on even whether to use it as people are discussing security implications[2]. It looks like (from perusing this issue, but could be wrong) AIO wasn't used.

    Windows: it looks like they're using IOCP everywhere. Seems sensible enough.

    General case: there seems to be an open issue regarding this[3].

    [1]: For example, Windows has IOCPs, Linux has io_uring, FreeBSD has kqueue, POSIX has... POSIX AIO, etc.

    [2]: https://github.com/golang/go/issues/31908

    [3]: https://github.com/golang/go/issues/6817

  16. swift-cross-ui

    A cross-platform declarative UI framework, inspired by SwiftUI.

    https://github.com/stackotter/swift-cross-ui (Linux + Windows)

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • SwiftCrossUI: A cross-platform declarative UI framework, inspired by SwiftUI

    1 project | news.ycombinator.com | 5 Sep 2024
  • How to use OpenCombine framework with Android Studio

    1 project | dev.to | 27 Jan 2024
  • gitignore.io

    1 project | /r/programming | 21 Aug 2023
  • What are 3 hard things you find in iOS programming?

    1 project | /r/iOSProgramming | 19 May 2023
  • Helpful Tool to Create .gitignore Files

    1 project | /r/learnprogramming | 18 May 2023

Did you know that Swift is
the 15th most popular programming language
based on number of references?