# Blog series: The Swift Runtime

**URL:** <https://forums.swift.org/t/blog-series-the-swift-runtime/40296>\
**Category:** Community Showcase\
**Created:** [September 14, 2020, 6:46pm UTC](https://forums.swift.org/t/blog-series-the-swift-runtime/40296 "2020-09-14T18:46:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrose](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jrose/32/408_2.png) [@jrose](https://forums.swift.org/u/jrose)\
**Post date:** [September 14, 2020, 6:46pm UTC](https://forums.swift.org/t/blog-series-the-swift-runtime/40296/1 "2020-09-14T18:46:40Z")

</div>

As part of my [Swift on Mac OS 9](https://forums.swift.org/t/swift-on-mac-os-9/35019) project, I ended up implementing a good chunk of the Swift runtime myself, in Swift. I figured other people would be interested in how this part of Swift works under the hood, so I started blogging about it. Here's the first post:

> **[The Swift Runtime: Heap Objects](https://belkadan.com/blog/2020/08/Swift-Runtime-Heap-Objects/)**
>
> Let's start with something simple: reference counting

My implementation isn't as full-featured as the real runtime, but I think it's still good enough to get an idea of what the real runtime does. Check it out!

---

<div class="post-metadata">

**Author:** ![lukasa](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/lukasa/32/1232_2.png) [@lukasa](https://forums.swift.org/u/lukasa)\
**Post date:** [September 14, 2020, 6:49pm UTC](https://forums.swift.org/t/blog-series-the-swift-runtime/40296/2 "2020-09-14T18:49:28Z")

</div>

This is a great series Jordan, I’m enjoying it immensely.

---

<div class="post-metadata">

**Author:** ![Alejandro](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/alejandro/32/46197_2.png) [@Alejandro](https://forums.swift.org/u/Alejandro)\
**Post date:** [September 14, 2020, 7:42pm UTC](https://forums.swift.org/t/blog-series-the-swift-runtime/40296/3 "2020-09-14T19:42:10Z")

</div>

I think it's great that you're showcasing parts of the Swift runtime and an example implementation all in Swift. It's tempting to just give in and write most of it in C/++ because of the vast amount of pointer operations. I've also personally really enjoyed the way you're introducing concepts and actual functions to the reader. Thanks so much!
