mrkeyoor.comAsk

swiftlang/swifttested 20 Nov 2026commit fb5b4b0

swift review

Our run passed 3 Python utility tests in 2 seconds, giving a clean result for utils/cmpcodesize/ and no compiler-wide test result.

  • Safety failed
  • Install 19 s
3/3tests passed
  • Build 1 s
  • 36 packages
Dev Toolsevaluationupdated 20 Nov 2026
+27stars / 7d

Swift is a programming language for Apple applications, command-line tools, libraries and server software. The swiftlang/swift repository contains the compiler and supporting development code; application developers can begin with an installed toolchain.

Verdict

Our run passed 3 Python utility tests in 2 seconds, giving a clean result for utils/cmpcodesize/ and no compiler-wide test result. Use Swift if you are building Apple applications or want to bring Swift skills to a server project with time to evaluate its tooling. Skip it if your web team cannot absorb the tooling work that Studioworks describes before reaching Python-like development speed.

Swift infographic: write Apple applications, command-line tools and server software, plus our test result and who it suits
Tested 20 November 2026: 3 of 3 source tests passed. Before that: source install 19 s, build 1 s.

We ran it

Lab card: what happened when we ran swift
Lab card from our sandbox run
Screenshot of swift (swift.org)
swift.org
Install✓ · 19s36 packages · 38 MB
Build✓ · 1s
Tests✓ · 2s3 passed · 0 failed of 3 (pytest)
Repo34317 files~3,737,292 lines of source · 220 MB · 0 CI workflows · tests dir

Answers from our run

Does swift build from source?

Dependencies installed in 19 seconds (36 packages), and the build succeeded in 1 seconds. We cloned commit fb5b4b0 into a clean Debian container with 3 CPUs and no project-specific setup.

Do swift's tests pass?

Yes. The project's own test command finished in 2 seconds and reported 3 passed, 0 failed (pytest).

Who should not use swift?

Web teams that cannot spend time replacing familiar delivery tools: Studioworks reports recreating build, deployment and chat tooling.

What are the alternatives to swift?

Objective-C, Python (CPython), PHP. Our run passed 3 Python utility tests in 2 seconds, giving a clean result for utils/cmpcodesize/ and no compiler-wide test result.

Setup4/5Our source checkout installed in 19 s and built in 1 s with 36 dependencies, but we did not run a README task.Editor’s note: The successful setup measured a Python utility; installing or building a supported Swift toolchain was outside this run.
Docs4/5The README has an install section (“Getting Started”) and usage in the same section; we did not run its quickstart ourselves.Editor’s note: The English README links language and compiler guides; their full instruction paths were not reproduced in this review.
Community5/5Last push on 2026-11-20, 70,584 stars, maintainers answered or closed 9 of the 10 most-discussed issues we sampled and 9,602 open issues and pull requests is a heavy backlog for its size.Editor’s note: Sampled threads show contributor guidance and specific fixes, without measuring support response times or overall adoption.
Maturity5/5Latest release swift-6.4.2-RELEASE on 2026-10-30, repository created 2015-10-23 and its test suite passed in our sandbox (3 of 3 passed).Editor’s note: A named production account and ongoing development inform the recommendation; compiler-wide reliability was not assessed by our utility run.

How we score

Discussed on

  1. hnNew GitHub Organization for the Swift Project154 points
  2. hnSwift/Java interoperability tools and libraries83 points
  3. hnSwift Developers Community45 points
  4. hnParallel Scripting in Swift16 points
  5. hnFoundation is being rewritten with Swift and will be developed as an open source16 points

Who it’s for

Apple application developers choosing a language for new work.
Teams already using Swift that want to evaluate a server application with Vapor or Hummingbird.
Contributors who want to change compiler behavior or its supporting tools.

Who it’s NOT for

Web teams that cannot spend time replacing familiar delivery tools: Studioworks reports recreating build, deployment and chat tooling.
Developers expecting Windows interpreter success to follow automatically from successful compilation: David Frogley reported different outcomes for those paths.
Developers who only need to write an application: the README points to a toolchain and language documentation, while this checkout serves compiler development.

Setup reality

Our November 20 run at fb5b4b0 targeted the Python project in ./utils/cmpcodesize/: installation succeeded in 19 seconds with 36 dependencies recorded and 38 MB on disk. The build succeeded in 1 second; pytest passed all 3 tests in 2 seconds. This was a utility run, not a Swift compiler build.

For language learning, Swift.org directs you to an installed toolchain and bundled Swift Package Manager. A web application adds its own framework, configuration and any external-service credentials. The separate deployment runner stopped because it required a Compose file that the checkout did not contain.

The sandbox recorded 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm; actual runtime versions require toolchain logs. Swift.org lists macOS, Linux and Windows installation, while its Apple application guide requires macOS and Xcode. Windows interpreter reports need to be distinguished from compilation.

Our run passed three Python utility tests under utils/cmpcodesize/; it did not exercise the Swift compiler. Use Swift if you want to write Apple applications or bring existing Swift skills to a server project. Skip it if you need a web stack with no tooling work beyond what your Python setup already provides: Studioworks had to recreate build, deployment and chat tooling before its team reached familiar development speed.

What people use swift for

Studioworks runs a web platform with Swift and Hummingbird 2, while contributors use this repository to change the compiler and its supporting tools. Those are different reasons to download Swift, and they lead to different setup work.

Who used it What they did Outcome and relevance to you
Nick Sloan, head of engineering at Studioworks Built a platform for creative studios, agencies and freelancers with Hummingbird 2, Soto, MacroRouting and Elementary Sloan reports processing millions of dollars in customer invoices and fewer production crashes and bugs than in his earlier web work. This is a company account hosted on Swift.org.
Debian contributor melizasw Packaged Swift using debuild and worked through Debian policy checks Reached the stage of seeking a Debian Developer sponsor, encountering binary stripping constraints and an executable-name collision. The packaging discussion describes distribution work beyond installing a toolchain.
Compiler contributor ramonasuncion Converted tests for llvm-lit's internal shell with guidance from hnrklssn Reported a first pull request; the maintainer linked fixes for specific tests in the conversion tracker.
Leonardo Durazo Demonstrated saving user information through a protocol with injected storage Published reusable example code and an example project in a protocol-oriented tutorial. This is an implementation example rather than a customer deployment.

On X, ctatedev also announced json-render for Swift, describing native iOS and macOS interfaces rendered with SwiftUI, custom components and JSON specifications shared with a React renderer. That announcement is useful evidence of what someone is making, without turning social engagement into proof that it works in production.

For your own application, start with the official getting-started page. It separates command-line tools, reusable libraries, web services and Apple applications. Clone the compiler repository when your goal is to change Swift itself; the README directs contributors to a separate checkout and compiler-development guide.

What happened when we ran it

Our November 20 sandbox installed the Python project in utils/cmpcodesize/ in 19 seconds, recorded a successful build in 1 second, and passed all 3 pytest tests in 2 seconds. These lab results describe a utility inside the Swift checkout.

Recorded step or configuration Our result
Checkout swiftlang/swift at fb5b4b0, November 20, 2026
Target Python project under ./utils/cmpcodesize/
Install Succeeded in 19 seconds; 36 dependencies recorded; 38 MB on disk
Build Succeeded in 1 second
Tests Succeeded in 2 seconds; pytest: 3 passed, 0 failed of 3
Sandbox 3 CPUs, 8 GB RAM; image ghcr.io/astral-sh/uv:python3.12-bookworm
Repository scan 34,317 files, approximately 3,737,292 source lines, 220 MB checked out
Detected signals 0 CI workflow files, no Dockerfile, a tests directory

The utility installation completed, followed by the build step and the three passing tests. The target directory matters more than the green status: this sequence exercises a Python component in a compiler repository. If you are deciding whether to build Swift from source, don't budget your workstation from that 38 MB installation footprint. It belongs to the measured utility environment.

A separate hands-on deployment attempt stopped at its safety check: unsafe repo: none of compose.yaml, compose.yml, docker-compose.yaml, docker-compose.yml exists (rule: a compose file is required). The runner required a Compose file and found none. That is a mismatch between this deployment procedure and the repository, rather than a Swift compilation error. The runner then reported teardown: ok.

Our measurement setup records the target directory, CPU and RAM allocation, and container image so you can interpret the result at the same scope. The image name is recorded configuration, not proof of the Python or operating-system version that actually ran. Likewise, the scanner's zero workflow-file count is a narrow discovery result: the README explicitly describes a toolchain script used by Swift.org CI. A successful utility test and a scanner count answer smaller questions than whether Swift's compiler infrastructure works.

Where people get stuck: builds, inference and Windows execution

MahdiBM's Linux migration report describes stalled CI after a move from Swift 5.10 to Swift 6.0, even while the project retained Swift 5 language mode. The practical lesson is to test the toolchain upgrade separately from a language-mode migration.

Report What happened Response and resolution boundary
MahdiBM, issue #76555 A large work project's CI stalled and machines were killed after its Linux toolchain update finagolfin identified a related linker fix merged into release/6.0 and requested a patch-release backport. The thread is closed; its discussion stops short of confirming the entire regression was resolved.
JaapWijnen, issue #62978 A reduced swift-parsing example failed with Ambiguous use of 'parser(of:)' xedin explained stricter independent checking of result-builder elements and recommended buildExpression with explicit generic requirements. The reporter got the minimal example working, but still had trouble applying it to the whole library.
Reporter in issue #68212 Swift 5.8.1 failed to infer a specialization when extending a typealias Extending the underlying type with extension Field where Value == Int compiled in the report. The issue is closed; that concrete workaround is the actionable result shown in the discussion.
David Frogley, Swift Forums Running Hello World through the command-line interpreter on Windows 11 produced missing JIT symbols He reported that swiftc hello.swift -o hello.exe compiled successfully. Compiling and interpreting took different paths.

A result builder is the language feature that turns a block of expressions into a constructed result. In #62978, the earlier example relied on one expression helping infer another's type. The maintainer explained why buildPartialBlock could no longer supply that context. If you maintain a builder-heavy library, reduce an upgrade failure to the ambiguous expression before changing the library's public interface. The minimal reproducer and the whole library had different outcomes in this thread.

Windows needs the same precision. A June 2024 ARM64 development snapshot crashed while compiling Hello World. hjyamauchi identified PR #74432 as a temporary workaround, and the discussion investigated calling-convention mismatches between Swift and C++. Its closed label does not make that snapshot representative of every current Windows toolchain. The separate nightly-toolchain tracker #69484 records missing zlib and path or environment errors, with contributors discussing build.ps1 and removing PYTHON_HOME; that tracker is open.

Fast web pages can still come with expensive Linux builds

Studioworks reports web pages arriving in less than 100 ms; MahdiBM's issue concerns producing an application through CI. You need to price both parts of the workflow.

Sloan reports that Studioworks' heaviest pages reached the browser in less than 100 ms, especially after its templates moved to Elementary. He also reports that starting the Swift project was slower than starting with the Python tooling the team already knew. Once the team recreated missing tools and chose its templating approach, he says development became about as fast as its Python work. Those are one engineering leader's observations, rather than a controlled comparison of languages.

The Linux build-regression discussion provides a useful check against treating service efficiency as a build-budget promise. tbkka distinguishes a memory-hungry compiler, a memory-hungry linker and a build system launching too many compiler processes at once. These call for different investigations. A killed CI machine alone doesn't identify which one you have.

For a server team, I would require a representative application build on the intended CI runner before committing to a migration. Keep the application revision constant, record the toolchain and container choice, and observe the compiler and linker separately. That recommendation follows the thread's troubleshooting, without borrowing its workload as your forecast. Faster responses from a running service won't pay back a CI bottleneck you haven't measured.

Safety features do not configure your server

Swift's README describes the language as memory-safe by default, and its server documentation describes type safety, optionals and concurrency checks. Those are language properties, not a ready-made authentication policy for your application.

The server overview explains ARC, Automatic Reference Counting, as Swift's approach to managing object lifetimes, and discusses Sendable types for values shared between concurrent tasks. An optional is a value that can explicitly be missing. These mechanisms help you express constraints in code; you still choose the web framework and write the application's business behavior.

For web services, Swift.org points to Vapor and Hummingbird for routing and request handling. Treat framework configuration, credentials for external services, and access to stored data as application decisions. The compiler repository is not a deployable admin console with an account to create or a universal set of server secrets. Studioworks' use of Soto and DynamoDB is one particular architecture, not a requirement for every Swift program.

The repository is active, and contributor work has concrete entry points

GitHub lists release tag swift-6.4.2-RELEASE published October 30, 2026, alongside a November 20, 2026 repository push. Those repository facts and the release record place the historical migration reports in a project still receiving changes.

The useful community evidence is the work itself. In #84407, hnrklssn walked ramonasuncion through converting shell constructs for llvm-lit, the compiler's test runner. Maintainers then listed pull requests fixing named tests. You can see a newcomer asking a specific question, getting a specific answer and reporting a first pull request. That is stronger support evidence than a star count, though it doesn't promise a response time for your issue.

The README and the linked guides are in English. For compiler work, follow their contributor path rather than treating a language tutorial as a build guide. AnthonyLatsis' advice in #63291 is practical: experience with Swift and some C++, then reproduce the issue using a locally built compiler before attempting the change. That issue concerns inconsistent inference diagnostics and is closed; its conversation is most useful here as contributor guidance.

Swift vs Objective-C, Python, PHP and Xcode

Swift is a language, while Xcode is an integrated development environment, so choosing between them is a category mistake. The useful alternatives depend on whether you are maintaining an Apple app or choosing a web stack.

Choice What the comparison supports When I would choose it
Swift vs Objective-C Sendbird recommends Swift for new projects and Objective-C for existing Objective-C apps Start new Apple application work in Swift; retain Objective-C where maintaining the existing application is the job.
Swift vs Python Studioworks reports an initial Swift tooling cost, followed by Python-like development speed Choose Swift when reusing Swift skills is valuable enough to justify that evaluation; stay with Python when your existing delivery tools are the priority.
Swift vs PHP Studioworks' team had deployed PHP and Python applications for decades before adopting Swift Keep a working PHP stack when its deployment process already meets the project, rather than changing language on one company's experience.
Swift vs Xcode Clutch's own explanation identifies Swift as the language and Xcode as the IDE Use the language and the development environment together for the Apple workflow described by Swift.org.

Swift.org's server page argues for Swift on performance, startup and memory management. Read those as upstream reasons to evaluate a service, rather than a ranking over Java, JavaScript, Python or PHP. The decision here is whether your skills, deployment target and build budget line up with Swift's toolchain.

What the other reviews get wrong

Clutch's “Swift vs Xcode: Key Differences for Your App Project” confuses the language and its tools in ways that can send a beginner toward the wrong setup.

The article calls Swift and Xcode two programming frameworks, then later correctly distinguishes a language from an IDE. Use that latter distinction: Swift supplies the language, and Xcode supplies an Apple development environment. Neither description turns Xcode into an alternative programming language.

Clutch also says Swift provides no development tools because it is a programming language. Swift.org explicitly says Swift comes bundled with Swift Package Manager, which manages Swift packages used by applications and libraries. If you're coming from another language ecosystem, that is an immediate practical correction: package management is part of the documented starting point.

Finally, Clutch's “very little cross-platform support” description hides the target distinction. Swift.org offers installation on macOS, Linux and Windows and tutorials for cross-platform command-line tools and libraries. Its Apple application tutorial requires macOS and Xcode; its web-service tutorial requires macOS or Linux. Platform support should be stated per task, with the interpreter and historical ARM64 reports attached to their actual environments.

Questions people ask

You can start learning Swift on macOS, Linux or Windows: Swift.org documents installation on all three and recommends A Swift Tour as an introduction.

How do I start learning Swift?

Install a toolchain for your platform, run swift --version, and follow the official getting-started links to A Swift Tour. Choose its command-line or library tutorial if your immediate goal is language learning rather than an Apple interface.

How do I unwrap an optional in Swift?

Use if let to work with a present value, or ?? to supply a default for a missing one. A Swift Tour explains that an optional contains either a value or nil; its conditional example unwraps the value inside the block.

How do I throw an error in Swift?

Use throw for the error and throws on a function that can throw. The language tour's error-handling section shows calling such a function with try inside do, then handling the error in catch.

Can I learn Swift without a Mac?

Yes. The official installation page includes Linux and Windows. The same page's iOS and macOS application guide requires macOS and Xcode, so distinguish learning the language from following that Apple application workflow.

Should I choose Swift or Objective-C for an iOS application?

For an iOS application, Sendbird recommends Swift for a new project and Objective-C for an existing Objective-C application. I would use that as a maintenance-cost decision, rather than making a rewrite a prerequisite for improving an app.

What is the difference between Swift and Xcode?

Swift is the programming language; Xcode is the IDE used for writing, debugging and shipping Apple applications. Clutch states this distinction, despite contradicting it elsewhere in the article.

Can I build web applications with Swift?

Yes. Nick Sloan describes Studioworks' production web platform, including its framework choices and the tooling the team recreated. Swift.org separately documents a web-service learning path for macOS or Linux.

Why does Swift fail with missing JIT symbols in VSCode or on Windows?

Shiv1 reported JIT session error: Symbols not found, and David Frogley reported the same error on Windows 11. Frogley could compile with swiftc. That gives you a compilation route to try and a reason to separate interpreter behavior from compiler behavior, without claiming a diagnosis the discussion never reached.

How do I implement and test protocol-oriented use cases in Swift?

Leonardo Durazo's example defines a protocol for saving user information and injects storage through a Dependencies structure. Substituting that dependency is the tutorial's route to tests and custom scenarios; it describes application design rather than a result from our lab.

How do I get started contributing to the Swift compiler?

Reproduce a specific issue with your locally built compiler before changing it. AnthonyLatsis gives that advice in #63291, alongside the need for Swift experience and some C++. The README links the compiler setup and first-pull-request guides.

How should I convert Swift compiler tests to llvm-lit's internal shell?

hnrklssn suggests replacing VAR=value cmd with env VAR=value cmd, and replacing shell brace expansion in copy commands with explicit filenames. The tracker links completed conversions, which are better starting examples than assuming a full system shell is available.

How can I look up a Swift type from a class name?

The archival discussion in #42998 concerns round-tripping names and types for Foundation and records its resolution as Done. It is historical API-design discussion. Use documentation for your chosen toolchain before turning a proposed runtime function from that conversation into application code.

What we have not tested yet

Our 3 passing tests cover the Python utility target, leaving compiler compilation, Swift's own test suites, Apple application builds, Windows execution and production server behavior outside our lab result. We have not measured application latency, cold starts, peak compiler or linker memory, concurrent requests, or security and dependency vulnerabilities.

The deployment log has a contradiction: its run-summary line claims deployment with the repository's own Compose file, but the actual safety step failed because no Compose file existed. We count the failed check, not a deployment success. There is no recorded application task or screenshot from that attempt to assess.

The issue discussions establish the particular reports and workarounds described above, not their incidence across current installations. The Windows interpreter thread gives no confirmed root cause or fix. The historical ARM64 thread shows temporary and partial fixes without a final shipping release identified in its discussion. The Debian packaging conversation does not establish policy acceptance. Issue #42998 does not identify a final public API, and the old static-standard-library tracker #43345, marked Done, cannot establish current linking behavior for every target.

We found no relevant programming-language Reddit discussion or YouTube walkthrough in the search sample: the Reddit results concerned Taylor Swift, and the nonempty YouTube transcripts concerned a game and a car. The relevant X announcement adds a proposed use, not an independent reliability result. Sloan's production figures remain company reports hosted by the language project.

Searches for “swift on road price”, “swift dzire”, “swift dzire on road price”, “swift car price”, “swift price”, “swift car”, “swift vxi on road price”, “swift dzire price” and “swift cng on road price” belong to the Indian vehicle results in this search sample, not this programming language. “swift vs baleno” and “swift vs dzire” are vehicle comparisons too. Google's autocomplete results mix those entities; Sciome's SWIFT-Review is yet another product, a literature-review workbench. None supplies evidence for choosing swiftlang/swift.

Before adopting Swift for a server migration, the next useful result is your own application building and running on the intended toolchain, with CI resource use recorded separately from request performance.

Alternatives

ProjectWhat it isPick it when
Objective-CAn alternative language for Apple application work, especially existing Objective-C codebases.Keep it when maintaining an existing Objective-C app is the task; Sendbird makes this maintenance distinction.
Python (CPython) gh↗The language Studioworks used for web projects before adopting Swift.Choose it when preserving your existing Python delivery tooling matters more than moving the project to Swift.
PHP gh↗Another web language used by the Studioworks team before Swift.Keep it when your existing PHP application and deployment process meet the job; the review offers no measured reason to replace them.

What people are saying

  1. [velocity-scout] qnguyen3/zalo-swift-re
  2. [hackernews] ElementaryUI – Swift, in the Browser

Sources

  1. Swift compiler README
  2. Swift getting started
  3. Studioworks production experience
  4. Linux migration report
  5. Result-builder migration
  6. Compiler test contributions
  7. Swift vs Objective-C
  8. Clutch Swift vs Xcode

More dev tools reviews