You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2024-03-12-byte-sized-swift-tiny-games-playdate.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ title: "Byte-sized Swift: Building Tiny Games for the Playdate"
6
6
author: [rauhul]
7
7
---
8
8
9
-
I'm excited to share [swift-playdate-examples](https://github.com/apple/swift-playdate-examples), a technical demonstration of using Swift to build games for [Playdate](https://play.date/), a handheld game system by [Panic](https://panic.com).
9
+
I'm excited to share [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples), a technical demonstration of using Swift to build games for [Playdate](https://play.date/), a handheld game system by [Panic](https://panic.com).
10
10
11
11
<videotitle="A screencapture of Swift Break running on Playdate hardware mirrored to a Mac."autoplayloopmutedstyle="width: 100%; border-radius: 15px;">
@@ -96,7 +96,7 @@ Swift Break features a splash screen, a pause menu, paddle-location-based bounce
96
96
97
97
## Try it Out
98
98
99
-
If you're eager to use Swift on your Playdate, the [swift-playdate-examples](https://github.com/apple/swift-playdate-examples) repository has you covered. It contains the above ready-to-use examples that demonstrate how to build Swift games for the Playdate, both for the simulator and the hardware.
99
+
If you're eager to use Swift on your Playdate, the [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples) repository has you covered. It contains the above ready-to-use examples that demonstrate how to build Swift games for the Playdate, both for the simulator and the hardware.
100
100
101
101
Additionally, the repository includes detailed documentation to guide you through the setup process. Whether you're a seasoned developer or just starting, you'll find the necessary resources to bring your ideas to life.
102
102
@@ -440,7 +440,7 @@ Thanks for diving into the bring-up journey with me. From refining the Swift Pla
440
440
441
441
However, with the issues now resolved, creating Playdate games in Swift is a streamlined process. Just run `make` and enjoy a development experience with Swift that is both expressive _and_ performant.
442
442
443
-
You can find all the code examples mentioned in this post in the [swift-playdate-examples](https://github.com/apple/swift-playdate-examples) repository with accompanying "Getting Started" documentation.
443
+
You can find all the code examples mentioned in this post in the [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples) repository with accompanying "Getting Started" documentation.
444
444
445
445
I hope this post encourages you to explore the possibilities of using Swift in unconventional environments. Feel free to reach out with your experiences, questions, or game ideas on the [Swift Forums](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615)!
Copy file name to clipboardExpand all lines: _posts/2024-04-03-embedded-swift-examples.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ title: "Get Started with Embedded Swift on ARM and RISC-V Microcontrollers"
6
6
author: [kubamracek]
7
7
---
8
8
9
-
We're pleased to introduce a [repository of example projects](https://github.com/apple/swift-embedded-examples) that demonstrate how Embedded Swift can be used to develop software on a range of microcontrollers.
9
+
We're pleased to introduce a [repository of example projects](https://github.com/swiftlang/swift-embedded-examples) that demonstrate how Embedded Swift can be used to develop software on a range of microcontrollers.
10
10
11
11
Swift is a scalable language, great for writing desktop and mobile apps, server backends, and system software. And as you [may have seen](https://www.swift.org/blog/byte-sized-swift-tiny-games-playdate/), thanks to a new, experimental compilation mode, you can use Swift to target embedded environments like ARM and RISC-V microcontrollers as well, popular for building professional and hobbyist electronics projects such as IoT devices.
12
12
13
13
Microcontrollers are constrained environments where not all of Swift’s features are appropriate. The new Embedded Swift compilation mode turns off certain language features like runtime reflection, ABI stability, and existentials, to produce standalone binaries suitable for firmware. Despite turning off some language features, the Embedded Swift subset still feels very close to the “full” Swift that developers love, and makes it easy to continue writing idiomatic, easy-to-read Swift code. You can dive into the details in the formally accepted [Embedded Swift Vision Document](https://github.com/swiftlang/swift-evolution/blob/main/visions/embedded-swift.md), and try it out in the [nightly downloadable toolchains](https://www.swift.org/download/#snapshots).
14
14
15
-
The Swift community has already started publishing [several](https://forums.swift.org/t/embedded-swift-on-the-raspberry-pi-pico-rp2040-without-the-pico-sdk/69338)[fascinating](https://forums.swift.org/t/rp2040mmio-a-hardware-access-layer-for-the-rp2040/69513/1)[projects](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615) built with this language mode, and we thought it would be useful to publish a collection of sample projects at [**swift-embedded-examples**](https://github.com/apple/swift-embedded-examples).
15
+
The Swift community has already started publishing [several](https://forums.swift.org/t/embedded-swift-on-the-raspberry-pi-pico-rp2040-without-the-pico-sdk/69338)[fascinating](https://forums.swift.org/t/rp2040mmio-a-hardware-access-layer-for-the-rp2040/69513/1)[projects](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615) built with this language mode, and we thought it would be useful to publish a collection of sample projects at [**swift-embedded-examples**](https://github.com/swiftlang/swift-embedded-examples).
16
16
17
17
<divalign="center"style="padding: 0020px0;"><i>
18
18
<imgsrc="/assets/images/embedded-examples/boards.jpg"alt="Swift on STM32F746, Raspberry Pi Pico, nRF52840, and ESP32C6">
@@ -26,7 +26,7 @@ We encourage anyone interested to try out the examples and help us grow the repo
26
26
27
27
## Try It Out
28
28
29
-
If you'd like to try out the existing example projects, visit the repository at [**swift-embedded-examples**](https://github.com/apple/swift-embedded-examples). It contains a catalog of examples along with instructions on how to build and run each of them.
29
+
If you'd like to try out the existing example projects, visit the repository at [**swift-embedded-examples**](https://github.com/swiftlang/swift-embedded-examples). It contains a catalog of examples along with instructions on how to build and run each of them.
30
30
31
31
To use these examples, be sure to install the latest [development snapshot toolchain](https://www.swift.org/download/#snapshots). As an experimental mode, Embedded Swift is not yet available in release versions of Swift.
0 commit comments