DL4S
swift-win32
DL4S | swift-win32 | |
---|---|---|
5 | 10 | |
99 | 1,071 | |
- | - | |
0.0 | 6.8 | |
6 months ago | about 1 month ago | |
Swift | Swift | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DL4S
-
Machine learning modules for swift
Lastly, there are some third party libraries that you could try. I wrote a machine learning / deep learning library for Swift a while ago: DL4S. It does not have GPU acceleration (yet), so it won't allow you to do large ML workloads, but it has no problem with datasets like MNIST and it has an API similar to PyTorch/Tensorflow 2.
-
Should I use accelerate or another library for simple, np.sum-like, matrix operations?
Shameless plug: If you're looking for a more user friendly method for accelerated operations on vectors, matrices and tensors: I built Deep Learning for Swift a while ago, which implements a lot of numpy functions. It's primarily made for deep learning but you can also do number crunching with it.
-
Anyone taking part or has taken part in the Swift Student Challenge?
Last year I won by building a chat bot with seq2seq and attention using my own deep learning library. The whole thing wasn't all that impressive from a visual standpoint but I guess the technical achievement was good enough for them. Also, I wrote a lot of stuff into the beyond WWDC field.
-
Recommendations for Books on Deep Learning.
If you want to go the latter route, Apple provides a bunch of low level frameworks for this: Accelerate, BNNS, ML Compute and MetalPerformanceShaderGraph. CoreML also supports some limited fine tuning capabilities. There are also 3rd party solutions, like DL4S (which I created).
-
Any good open source projects that uses Swift?
I actually have one project in this list myself (DL4S), but the project is probably not very beginner friendly to work on.
swift-win32
-
Swift for windows - current state and how to get aboard
For jumping abord, there are not very many frameworks for UI development. There is https://github.com/compnerd/swift-win32 which is less WinForms and more Common Control based. There were a couple of different attempts for WinRT to get XAML based UI systems. There was no official support for UWP, and that would likely require some tweaks to the runtime.
-
Swift outside the Apple ecosystem
Even Microsoft has someone dedicating their time to building Win32 support.
- Manipulating Windows Registry with Swift programming lang
-
Writing on Windows -> Compile on Mac workflow possible?
Swift does run on windows now. There’s also a package that lets you use Win32 to write GUI apps (https://github.com/compnerd/swift-win32). The core code (data models, networking, etc) can be common, but UI will have to be different (Win32 on windows and AppKit/Catalyst/SwiftUI on Mac)
-
UIKit on Windows?
As others have mentioned, UIKit is an Apple framework and not available on Windows, though you should be able to use the Win32 APIs to build out UI interfaces. Alternatively, you can experiment with https://github.com/compnerd/swift-win32 for a nice layer on top which abstracts out some of the details of the Win32 API. Unfortunately, that is not as fleshed out as one would like to build complex applications, but that is something which more usage and work on library should be able to resolve.
- Swift on Windows
- When I think of Swift I immediately think of iOS programming/mobile programming, What else can Swift do?
-
Are there any libraries for building Windows apps or GUI for Windows using Swift only?
For native apps, there's this, which gives an AppKit-like interface to build GUIs.
-
Any good open source projects that uses Swift?
If you’re looking for Windows first projects with Swift, https://github.com/compnerd/swift-win32 is pretty cool.
-
Why learn Swift when it’s only compatible with iOS?
Also check out this project by a member of the Swift core team, which is a set of bindings for the Win32 API for Swift on Windows.
What are some alternatives?
Swift-AI - The Swift machine learning library.
swift-gui - A framework for creating cross-platform GUI applications with Swift.
CoreML-Models - Largest list of models for Core ML (for iOS 11+)
SwiftUI-Kit - A SwiftUI system components and interactions demo app
MLKit - A simple machine learning framework written in Swift 🤖
SwiftWebUI - A demo implementation of SwiftUI for the Web
Bender - Easily craft fast Neural Networks on iOS! Use TensorFlow models. Metal under the hood.
hummingbird - Lightweight, flexible HTTP server framework written in Swift
AIToolbox - A toolbox of AI modules written in Swift: Graphs/Trees, Support Vector Machines, Neural Networks, PCA, K-Means, Genetic Algorithms
qlift - Swift library to use Qt
CoreML-samples - Sample code for Core ML using ResNet50 provided by Apple and a custom model generated by coremltools.
swift-collections - Commonly used data structures for Swift