What is the status of bootstrapping, and what is its roadmap?

does that mean that the swift-driver is currently used if bootstrapping is enabled?

The swift-driver is now a separate executable written in Swift and is separate from the bootstrapping effort in the main swift-frontend executable, which is still mostly C++.

What is the timeline of moving the Swift compiler into Swift, e.g. with swift-driver? What is the timeline of getting arm64 Macs to build the project with bootstrapping turned on?

When it's done? I've never seen a timeline for any internal compiler efforts.

Does the Swift compiler shipped with Xcode currently have bootstrapping turned on?

You can check this for yourself, as I did for linux, by seeing if the macOS compiler links against the Swift stdlib.

Does performance typically differ between the C++ and Swift version of each piece?

I think they said the Swift version was 10-30% slower? Just a vague impression I have from some forum post.

This comment is wrong. I'll remove it.

@Erik_Eckstein, @anthonylatsis put that in a couple months ago because of this issue.

1 Like