NEW: Master Swift design patterns with my latest book! >>

Want to get started with Swift compiler development?

Paul Hudson    September 5th 2017    @twostraws

Brian Gesiak has started a new tutorial series called Getting Started with Swift Compiler Development, with the first part already covering setting up your environment, building your own copy of the Swift compiler, and added a small change to get things started.

It’s certainly true that compiler development isn’t easy, but Brian has such as a relaxed style that it’s hard not to get sucked in:

The wall of text from the backtrace is intimidating at first, but no worries: in upcoming posts, I'll explain what each portion of the Swift compiler does. In the end, the Swift compiler is just a command-line program; there's nothing magical or scary about it.

Brian is well known in the Swift community, having already done a huge amount of work towards porting Swift to Android, and if you want to read more in this compiler series you should consider supporting him on Patreon.

Delving into the Swift compiler is something that has been on my mind for a while now, and this tutorial makes it look so easy – it will be interesting to see what gets covered in future installments!

Link: Getting Started with Swift Compiler Development.

 

About the author

Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and Mario Kart world champion. OK, so that last part isn't true. If you're curious you can learn more here.

Click here to visit the Hacking with Swift store >>