mikina / Swift-Scripting

Command line applications in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift-Scripting

Command line applications in Swift.

To run application inside terminal:

$ chmod +x hello.swift 
$ ./hello.swift
Hello from terminal!

🎉

Find prime numbers

Find prime numbers between 2 and 10000000. Calculate execution time.

$ ./prime.swift
Find prime numbers between 2 and 10000000 :: Time: 21.4241750240326

About

Command line applications in Swift.


Languages

Language:Swift 100.0%