swift-foundation
NoMansCanvas
swift-foundation | NoMansCanvas | |
---|---|---|
8 | 2 | |
2,200 | 6 | |
3.0% | - | |
9.5 | 10.0 | |
3 days ago | about 2 years 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.
swift-foundation
-
Swift for C++ Practitioners, Part 1: Intro and Value Types
How recent were your experiences?
The server-side Swift ecosystem has matured over the past few years, with specific attention from teams at Apple.
For example, regarding JSON, there has been a rewrite of the JSON encoder/decoder that results in a 200% - 500% speed up in deserialization! You can read about the (still ongoing) improvements to Foundation at https://github.com/apple/swift-foundation
Regarding logging, Apple has been pushing the development of community around the swift-log package at https://github.com/apple/swift-log. Maybe you’ve seen this, but just wanted to share!
One last thing: the Swift VSCode extension is actually really good! Not sure when you used it last, but I’ve been using it on a regular basis and it’s been great — and is only getting better. Here’s the link to the extension if you’re curious: https://marketplace.visualstudio.com/items?itemName=sswg.swi...
It’s true that Swift has had its various issues, but there’s a very real push by the core team and community to bring the language to new heights and places. Cross-platform support is getting better and better (check out what The Browser Company is doing with Swift on Windows) and a big source of performance bottlenecks are being addressed with the development of non-copyable and non-escaping (Rust-like move-only types)!
Sorry that’s a lot, but I just wanted to point out that there’s a lot of hope in Swift and really interesting things are happening for the project!
-
An aborted experiment with server Swift
> The linux version of swift replicates a large number of native mac frameworks using whatever mix of C and C++ gets the job done.
Note that this is changing, on Darwin and Linux alike. Foundation.framework is transitioning from being a Swift interface over a C / Objective-C implementation to an Objective-C interface over a Swift implementation.
https://github.com/apple/swift-foundation
-
Apple's use of Swift and SwiftUI in iOS 17
Something not noted in the article is that any binary which links Foundation, even if otherwise written entirely in Obj-C, now uses Swift. This is due to the Foundation Swift rewrite effort (https://github.com/apple/swift-foundation) that is rewriting Foundation is Swift while maintaining Obj-C ABI compatibility.
-
I would like to know the progress of full Swift rewrite of the Foundation Framework
The github page is here. https://github.com/apple/swift-foundation
- Apple is rewriting Foundation in Swift
NoMansCanvas
-
An aborted experiment with server Swift
It also uses a local SQLite db instead of a separate MySQL server, which makes deployment quite trivial (git clone && make run). The web client is still built with React, I've been thinking of rebuilding it with a single .html file and minimal JavaScript.
[1] https://github.com/vkoskiv/NoMansCanvas
-
Outdated vs. Complete: In defense of apps that don’t need updates
Earlier this year I set out to completely rewrite an old project[1] using minimal, battle-tested dependencies to avoid having to constantly patch code rot associated with more modern languages and toolchains. The rewrite[2] is now complete, more performant and lightweight than the old one, and I'm confident I won't have to touch it much, if at all, and it will compile and work in 20 years.
[1] https://github.com/vkoskiv/NoMansCanvas
[2] https://github.com/vkoskiv/nmc2
What are some alternatives?
swift - The Swift Programming Language
hummingbird - Lightweight, flexible HTTP server framework written in Swift
jwt-kit - 🔑 JSON Web Token (JWT) signing and verification (HMAC, ECDSA, EdDSA, RSA, PSS) with support for JWS and JWK
android-oss-cves-research - An analysis on open-source Android apps intended to learn if they are harmed by vulnerable dependencies 🔒
nmc2 - Lightweight, high-performance WebSocket server for No Man's Canvas, the pixel drawing game.
src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
freebsd-src - The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....