News for hackers. Stuff that matters.
Re:Taylor – Swift on bare metal by gilgoomesh on Monday September 05, 2016 @11:20PM (#12433462)
It builds Swift without any standard library, runtime or linkage to other components. This isn't normally possible with the Swift compiler.

The solution doesn't involve changing the compiler or building everything into the executable. Instead, this is a makefile coordinated pipeline (front-end swiftc, back-end clang) plus a start.s and a system.c file that omit any need for typical standard library components in the first place.

i.e. a "bare metal" compilation

Re:Taylor – Swift on bare metal by blkhp19 on Monday September 05, 2016 @11:38PM (#12433512)
Without the swift standard library, what can be done? Doesn't the standard library include all of the basic types, like Array, Int, etc?
Re:Taylor – Swift on bare metal by kr7 on Tuesday September 06, 2016 @12:33AM (#12433682)
Fixed-size integers and UnsafeMutablePointer are supported, so it is basically C with different syntax:

https://github.com/klange/taylor/blob/master/src/main.swift

Re:Taylor – Swift on bare metal by pjmlp on Tuesday September 06, 2016 @02:45AM (#12434028)
Except it has a stronger type checking and safety.
Re:Taylor – Swift on bare metal by posterboy on Thursday September 08, 2016 @08:34AM (#12452366)
sounds good, what's the draw back like?