Command line applications in Swift.
To run application inside terminal:
$ chmod +x hello.swift
$ ./hello.swift
Hello from terminal!
🎉
Find prime numbers between 2 and 10000000. Calculate execution time.
$ ./prime.swift
Find prime numbers between 2 and 10000000 :: Time: 21.4241750240326