[swift-users] Using Swift for interpreted shell scripts?

John Regner regnerjr at gmail.com
Tue Dec 15 15:12:09 CST 2015


Check out this talk from Ayaka on just this topic! https://realm.io/news/swift-scripting/

> On Dec 15, 2015, at 12:37 PM, @lbutlr via swift-users <swift-users at swift.org> wrote:
> 
>> On Dec 15, 2015, at 1:28 PM, Jens Alfke <jens at mooseyard.com> wrote:
>> Swift doesn’t seem like a good fit for the kinds of tasks people write shell-scripts for. It’s a system/app programming language, like C/C++. Scripting languages have extremely dynamic typing, super-high-level APIs, and no separate compile/link stage.
> 
> One possible advantage is that it would be relatively easy (instead of nigh-impossible) to have a shell script that interacts efficiently with the GUI.
> 
> But yes, this is mostly meant as a way for me to get a handle on the language by writing things I am familiar with and have some investment in.
> 
> -- 
> Stone circles were common enough everywhere in the mountains. Druids
> built them as weather computers, and since it was always cheaper to
> build a new 33-Megalith circle than to upgrade an old slow one, there
> were generally plenty of ancient ones around --Lords and Ladies
> 
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151215/e61005b6/attachment.html>


More information about the swift-users mailing list