News for hackers. Stuff that matters.
Re:Swift compiler driver rewritten in Swift by est31 on Thursday October 10, 2019 @02:23PM (#21217621)
Does that mean you'll soon need to have Swift to compile the Swift compiler? How many versions back do they want to support for bootstrapping?
Re:Swift compiler driver rewritten in Swift by ken on Thursday October 10, 2019 @08:05PM (#21220423)
Or cross-compile it. Swift already supports Linux, and there are even official Docker images.

I don't see anything wrong with having a bootstrap process that begins with cross-compilation. After all, that's probably how your platform got its first C compiler, too.

Re:Swift compiler driver rewritten in Swift by favorited on Thursday October 10, 2019 @02:47PM (#21217876)
I don't think there's a formal plan for bootstrapping yet. This is just the driver, so it shouldn't be too hard to write a tool which builds it by manually invoking the compiler frontend.
Re:Swift compiler driver rewritten in Swift by dorfsmay on Thursday October 10, 2019 @02:41PM (#21217794)
I suspect they'll sell a binary if all you want to do is develop apps in swift, and that they have a bootstrapping system to compile the compiler, like every other native compiler.

I believe that Chris Lattner the original author of LLVM also started Swift and is (or was) working at Apple on compilers.

https://en.wikipedia.org/wiki/Chris_Lattner

Re:Swift compiler driver rewritten in Swift by favorited on Thursday October 10, 2019 @02:42PM (#21217811)
Why would anyone sell a binary? It's all open source.

And Chris Lattner has worked at Google for a while now.

Re:Swift compiler driver rewritten in Swift by dorfsmay on Thursday October 10, 2019 @03:46PM (#21218474)
So make a binary a available for download?
Re:Swift compiler driver rewritten in Swift by favorited on Thursday October 10, 2019 @03:54PM (#21218536)
You can get macOS or Ubuntu builds already: https://swift.org/download/#snapshots