SAS can run on Windows or any supported variety of UNIX or Linux. These products are all included with SAS University Edition, a free SAS programming environment that you can download from SAS.
Profile code with profvis to identify bottlenecks.