hummingbird
alchemy
hummingbird | alchemy | |
---|---|---|
9 | 13 | |
777 | 327 | |
10.0% | 0.9% | |
9.3 | 5.9 | |
about 23 hours ago | 3 days ago | |
Swift | Swift | |
Apache License 2.0 | MIT 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.
hummingbird
-
An aborted experiment with server Swift
Such a shame. Swift has many beautiful language features.
I give swift a try every once in a while.
Problems of my last attempt:
- The Swift REPL (lldb to be precise) depends on libpython-dev (v3.8). WSL (ubuntu 22.04) comes with 2.7 and 3.10, so the lldb dependency depends on an old python version. The fix was to copy the 3.10 binary to the directory where lldb expects it, and rename it to libpython3.8.so. It seems that it's backwards compatible so it worked on my machine.
- I tried to compile and statically link a hummingbird (web framework, more light weight than vapot, https://github.com/hummingbird-project/hummingbird) hello-world example. I had a liking error. Luckilly someone in the swift forums helped me. The problem was that my package.swift file had the "-static-stdlib" flag only as a swiftSettings. It needed to be also a linkerSetting.
In the end I was able to build my example. But at this point I already spent multiple days debugging problems that are unrelated to my applicationn or the Swift language.
It's a shame because I see its potential. Fixing the (linux/windows) tooling problems would probably only take "some" developers. Apple has near infinite money and could sponsor them if they wanted to., but they gain little by it. Besides them, not many are invested in it.
- What to choose next? My company wants me to learn new stack. iOS Dev with 8 years of exp.
-
Swift outside the Apple ecosystem
Also look at: Hummingbird https://github.com/hummingbird-project/hummingbird Smoke https://github.com/amzn/smoke-framework Swift NIO https://github.com/apple/swift-nio
- Hummingbird, the Swift server framework, hits v1.0
-
What is the backend of apps?
Hummingbird is probably the fastest/lightest backend. You can switch to it after mastering Vapor's Fluent ORM.
-
Suggestions for a back-end service
I'm using Hummingbird hooked up to MongoDB with Vapor Fluent. I declared input/output structs that I share to the client code via a library. All my core business logic sits on the server. I can cache the structs client side on sqlite.
-
vapor and react integration
If you don't need all the features of vapor, you can just use Fluent's ORM and Hummingbird. The documentation and code examples are more up to date.
-
Alchemy - Elegant, batteries included web framework for Swift!
Another Devil's Advocate: Why would I choose it over Hummingbird? https://github.com/hummingbird-project/hummingbird
alchemy
-
What do you think about server-side Swift?
I'm curious if anyone has played with Alchemy.
-
Alchemy - Elegant, batteries included web framework for Swift?
Hey r/swift, after years of lurking here I’ve got something to contribute! Over the recent year I’ve been working on a web framework for everyone’s favorite language. Its focus is on clean,elegant, full featured APIs and sharing code between Swift clients and server. There are a couple quickstart projects in there (including one that’s Fullstack; iOS, Backend, Shared all in a single Xcode Project!) to peruse. There’s also a ton of docs that are geared towards fellow Swifters who are just getting started in backend dev. Would love for you guys to check it out and give feedback! https://github.com/alchemy-swift/alchemy
-
Swift Syntax and Structured Editing Library
```
There’s also a bunch more examples of APIs around QueryBuilder, Caching, Jobs, Queues, Redis, Commands, Authentication, Middleware etc[1]. And everything will be converted to async/await in the coming days.
1: https://github.com/alchemy-swift/alchemy/tree/main/Docs#docs
- Alchemy - A web framework for fullstack swift
-
Alchemy - Elegant, batteries included web framework for Swift
It's aimed to be an alternative, vapor is great and super customizable but I wanted to create something that was a little more "convention over configuration" so that out of the box things were a little more simple to follow and get going, if you are willing to do it the Alchemy "way of doing things". For example the ORM models can be super light weight,if you name the database table columns after the CodingKeys of the model.
- Show HN: Alchemy – Elegant, batteries included web framework for Swift
-
Anyone here create a website using Swift?
Alchemy is a recently released Swift web framework.
- Alchemy: A fully featured web framework for Swift
What are some alternatives?
Vapor - 💧 A server-side Swift HTTP web framework.
Plot - A DSL for writing type-safe HTML, XML and RSS in Swift.
async-http-client - HTTP client library built on SwiftNIO
swift-collections - Commonly used data structures for Swift
sourcekit-lsp - Language Server Protocol implementation for Swift and C-based languages
NoMansCanvas - Jyväskylä University project - A clone of /r/place
practical-server-side-swift - Vapor 4 code samples for the Practical Server Side Swift book
smoke-framework - A light-weight server-side service framework written in the Swift programming language.
swift-nio - Event-driven network application framework for high performance protocol servers & clients, non-blocking.
APNSwift - 📱HTTP/2 Apple Push Notification Service built with swift - send push notifications to iOS, iPadOS, tvOS, macOS, watchOS, visionOS, and Safari!
swift - The Swift Programming Language