# Pitch: an Official Style Guide and Formatter for Swift

**URL:** <https://forums.swift.org/t/pitch-an-official-style-guide-and-formatter-for-swift/21025>\
**Category:** Pitches\
**Created:** [February 28, 2019, 6:13pm UTC](https://forums.swift.org/t/pitch-an-official-style-guide-and-formatter-for-swift/21025 "2019-02-28T18:13:16Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![akyrtzi](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/akyrtzi/32/4963_2.png) [@akyrtzi](https://forums.swift.org/u/akyrtzi)\
**Post date:** [February 28, 2019, 7:41pm UTC](https://forums.swift.org/t/pitch-an-official-style-guide-and-formatter-for-swift/21025/35 "2019-02-28T19:41:52Z")

</div>

> [@freak4pc](#):
>
> I remember a post by one of the SwiftLint team that tried to use SwiftSyntax to hopefully get rid of the SourceKitten dependency and was disappointed by how slow and non-performing it was.

To clarify, this was trying out swift-4.2-branch version which only supported invoking swiftc for parsing. There's a faster way in swift-5.0-branch by calling into sourcekitd, and swift-5.1-branch is even much faster due to [changes I first outlined here](https://forums.swift.org/t/speeding-up-swiftsyntax-by-using-the-parser-directly/18493).

---

_[View the full topic](https://forums.swift.org/t/pitch-an-official-style-guide-and-formatter-for-swift/21025)._
