KU-AICC202-Intro-to-Data-Science

Getting Started with Julia

Julia is an open source, high-level, strongly typed, dynamic, functional programming language designed for numerical analysis and computational science. Julia attempts to solve the “Two-Language” problem allowing to coding everything in a single language balancing both performance (as in C or Fortran) and productivity (as in Python). [Article: Why we create Julia]](https://julialang.org/blog/2012/02/why-we-created-julia/)

Setup

Please download Julia from https://julialang.org/downloads/ and follow the installation instructions presented at https://julialang.org/downloads/platform/. Install the current stable release.

Follow one of the following instructions to setup development environment

Visual Studio Code (https://code.visualstudio.com/)

Jupyter Notebook

using Pkg
Pkg.add("IJulia")

using IJulia
IJulia.notebook(dir=".")

Pluto Notebook

using Pkg
Pkg.add("Pluto")

using Pluto
Pluto.run()

Using Julia REPL

cmd = `echo hello` 
run(cmd)

Other common commands

; at the end of expression suppresses REPL output

One can access REPL through Julia cell in Jupyter Notebook as well

Reference