# Why so many API is internal in native libraries?

**URL:** <https://forums.swift.org/t/why-so-many-api-is-internal-in-native-libraries/64008>\
**Category:** Using Swift\
**Tags:** off-topic\
**Created:** [March 27, 2023, 12:28pm UTC](https://forums.swift.org/t/why-so-many-api-is-internal-in-native-libraries/64008 "2023-03-27T12:28:10Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [April 4, 2023, 10:10pm UTC](https://forums.swift.org/t/why-so-many-api-is-internal-in-native-libraries/64008/25 "2023-04-04T22:10:42Z")

</div>

> [@John\_McCall](#):
>
> We never once imagined that it was Apple’s responsibility to finish those proposals because they’d been accepted, and if you thought that was how Evolution worked, well, I don’t know where you got that idea.
> 
> This does mean that your ability to affect the language without doing implementation work is mostly limited to making suggestions on other people’s proposals. That should not be surprising.

as a non-Apple swift user this is disappointing to hear, but i recognize this as a legitimate explanation and i appreciate the honest response.

regarding the “implementation work” aspect: to say that contributing to the compiler is challenging right now would be an understatement. even for someone who has a C++ background (an uncommon skillset in this community) just compiling the compiler itself is not easy.

i checked the [Getting started guide](https://github.com/apple/swift/blob/main/docs/HowToGuides/GettingStarted.md) to see if anything has changed since the last time i tried, and it seems you still need to have [70 GB of free disk space](https://github.com/apple/swift/blob/main/docs/HowToGuides/GettingStarted.md#system-requirements). i get this does not sound like a lot if you are building on a corporate-provisioned cloudtop/device, but for the majority of the time (65%?) since i started using swift (in 2016 or so) i was unable to build the toolchain on my personal machine because i did not have 70 GB of free disk space, or time to clear up 70 GB of disk space to build a toolchain. and to have a serious workflow for contributing to the compiler, you probably want to sustain more than one toolchain build per machine at a time.

to use [sccache](https://github.com/apple/swift/blob/main/docs/HowToGuides/GettingStarted.md#linux) in docker also requires manual installation, although thankfully i don’t see any references to [distcc](https://forums.swift.org/t/how-to-turn-off-distcc/52061) anymore.

aside: i’ve never tried to contribute to the swift corelibs, but it sounds like there are [similar obstacles](https://forums.swift.org/t/hard-to-debug-develop-swiftfoundation/59135) in that domain as well.

obviously, contributing to any open source code base is going to require some amount of effort from the contributor. but i don’t know of many open source projects that have as many barriers to development as the swift compiler does. healthy open source projects prioritize onboarding and invest effort in making the project an attractive pursuit for community members looking for something to do. in the absence of that, the list of developers with the determination to implement things in the compiler instead of complaining to Apple employees is going to be short. this should not be surprising either.

---

_[View the full topic](https://forums.swift.org/t/why-so-many-api-is-internal-in-native-libraries/64008)._
