[swift-evolution] For discussion: Including source code alongside binaries

Maxim Veksler maxim at vekslers.org
Sun Feb 14 04:00:40 CST 2016

On Sat, Feb 13, 2016 at 12:39 AM, Craig Cruden <ccruden at novafore.com> wrote:

> don’t understand that — I would think it would be up to the development
> (IDE) environment.  Swift code is open-source and can be installed, without
> bundling (assuming the IDE can handle it).  Just have to make sure that
> there is a source package that corresponds to a given release that could be
> downloaded

That's a good point, we are post distributed version control era.

If I understand your suggestion this means that each binary / framework
should have in it's meta data a path leading to a git (or other) source
repository and a pointer to the exact hash / tag of the commit that
produced the given binary. This would allow IDE automation to clone the
given repo automatically, and display the source during the debugging

I think that this introduces a problem for developers working in
environments that have no direct internet access (gov, army, labs) but work
around could be implemented.

puıɯ ʎɯ ɯoɹɟ ʇuǝs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160214/f932c06b/attachment.html>

More information about the swift-evolution mailing list