Blog series: The Swift Runtime

As part of my Swift on Mac OS 9 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:

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!

38 Likes

This is a great series Jordan, Iā€™m enjoying it immensely.

1 Like

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!

2 Likes