Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
---

<main role="main">
{{ content }}
<article class="page">
{{ content }}
</article>
</main>

{% include footer.html %}
1 change: 0 additions & 1 deletion download/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Download Swift
---


{% assign xcode_development_builds = site.data.builds.development.xcode | sort: 'date' | reverse %}
{% assign ubuntu1510_development_builds = site.data.builds.development.ubuntu1510 | sort: 'date' | reverse %}
{% assign ubuntu1404_development_builds = site.data.builds.development.ubuntu1404 | sort: 'date' | reverse %}
Expand Down
81 changes: 77 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,82 @@ atom: true

# Welcome to Swift.org

Welcome to the Swift community. Together we are working to build a programming language to empower everyone to turn their ideas into apps on any platform.
Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.

Announced in 2014, the Swift programming language has quickly become one of the fastest growing languages in history. Swift makes it easy to write software that is incredibly fast and safe by design. Our goals for Swift are ambitious: we want to make programming simple things easy, and difficult things possible.
<div class="links links-list-nostyle" markdown="1">
- [Get started with Swift](/getting-started)
- [Read the documentation](/documentation)
- [Latest release: 5.7](/download/#swift-57)
</div>

For students, learning Swift has been a great introduction to modern programming concepts and best practices. And because it is open, their Swift skills will be able to be applied to an even broader range of platforms, from mobile devices to the desktop to the cloud.

## Why Swift?

### Safe

The most obvious way to write code should also behave in a safe manner. Undefined behavior is the enemy of safety, and developer mistakes should be caught before software is in production. Opting for safety sometimes means Swift will feel strict, but we believe that clarity saves time in the long run.

### Fast

Swift is intended as a replacement for C-based languages (C, C++, and Objective-C). As such, Swift must be comparable to those languages in performance for most tasks. Performance must also be predictable and consistent, not just fast in short bursts that require clean-up later. There are lots of languages with novel features — being fast is rare.

### Expressive

Swift benefits from decades of advancement in computer science to offer syntax that is a joy to use, with modern features developers expect. But Swift is never done. We will monitor language advancements and embrace what works, continually evolving to make Swift even better.

## Use cases

### Apple platforms

Swift is a powerful and intuitive programming language on macOS, iOS, watchOS, tvOS and beyond. Swift code is safe by design, yet also produces software that is optimized to run lightning-fast.

<div class="links links-list-nostyle" markdown="1">
- [[TODO] Learn more about Swift on Apple platforms](#)
</div>

### Server

Ever dreamed of using the same programming language on both your mobile applications and their server back-ends? Swift's small footprint, quick startup time, and deterministic performance make it specifically suitable for Server applications.

<div class="links links-list-nostyle" markdown="1">
- [Learn more about Swift on Server](/server/)
</div>

## Getting involved

Everyone is welcome to contribute to Swift. Contributing doesn’t just mean submitting pull requests—there are many different ways for you to get involved, including answering questions on the forums, reporting or triaging bugs, and participating in the Swift evolution process.

No matter how you want to get involved, we ask that you first learn what’s expected of anyone who participates in the project by reading the [Community Overview](/community/). If you’re contributing code, you should also know how to build and run Swift from the repository, as described in [Source Code](/source-code/).

### Design

Anyone with a good idea can help shape the future features and direction of the language. To reach the best possible solution to a problem, we discuss and iterate on ideas in a public forum.

<div class="links links-list-nostyle" markdown="1">
- [The Swift Evolution Process](/contributing/#participating-in-the-swift-evolution-process)
</div>

### Code

Swift welcomes developers from all walks of life, with different backgrounds, and with a wide range of experience. A diverse community has more great ideas, more unique perspectives, and produces more great code.

<div class="links links-list-nostyle" markdown="1">
- [Learn more](/contributing/#contributing-code)
</div>

### Troubleshoot

Reporting issues is a great way for anyone to help improve Swift. Nearly as important is triaging those issues to ensure that they are reproducible, small, and unique.

<div class="links links-list-nostyle" markdown="1">
- [Learn more](/contributing/#triaging-bugs)
</div>

## What's new

Stay up-to-date with the latest in the Swift community.

<div class="links links-list-nostyle" markdown="1">
- [Visit the Swift.org blog](/blog/)
- [Visit the Swift forums](https://forums.swift.org)
- [Follow @Swiftlang on Twitter](https://twitter.com/swiftlang){:target="_blank" class="link-external"}
</div>