This page contains the Pluto notebooks accompanying the Julia2925 doctoral schools hosted at Ghent University.
This course gives an in-depth introduction to the Julia programming language. The first day will introduce the essential elements (variables, printing, plotting, looping, collections, etc.) of Julia programming along with a peek behind the curtains of the type system. On the second day, we will cover the type system comprehensively and discuss its relation to multiple dispatch and illustrate how this translates into extensible and user-friendly programs. We cover the subject matter interactively in notebooks.
There are two ways to download the notebooks.
- If you are used to Github, you can clone this repository to your computer.
- Download the notebooks from this link
There are multiple ways to install julia on your system: install via your package manager, download the binaries, or use the Juliaup
installation manager.
We recommend the Juliaup
installation manager.
In the current version of the course we will be using the latest stable release 1.10.0
.
- Go to this page on the official Julia website and select the binary you want to download given the version and your system specification.
- Have a look here to see the installation instruction for different platforms.
- Follow the installation instructions for your specific platform.
- Check out the using Juliaup details for how to launch Juliaup and execute some commands for your specific system.
- Install version
1.10.0
:juliaup add 1.10.0
- Make this version the default version:
juliaup default 1.10.0
.
For windows users:
- if you are using the binaries: it is as simple as double-clicking the Julia application (after unzipping).
- if you are using
Juliaup
: there is a start menu shortcut and it will show up as a profile in Windows Terminal.
For Linux users:
- if you are using the binaries: the Julia REPL can be started by executing the binary (after unzipping), e.g.
/path/to/julia-1.x.x/bin/julia
. For ease of use, we recommend adding an alias to your dotfiles (.bashrc, .zshrc):alias julia=~/julia-1.x.x/bin/julia
- if you are using
Juliaup
: julia is added to your path and can be started by executingjulia
in a shell.
Note that the VS Code extension will also automatically find this Julia installation.
Open the Julia REPL using any of the methods described in the previous section.
- Open the (just) installed Julia application.
- Install Pluto by copy-pasting the following instruction in the REPL (the terminal that just appeared):
using Pkg; Pkg.add("Pluto")
. This will take two minutes. - Launch Pluto by copy-pasting
using Pluto; Pluto.run()
. It will open in your browser. - In the slot "open a notebook" navigate to the notebook by typing the location of the notebooks on your computer (e.g.
C:/Users\jef\notebooks\day1\01-basics.jl
or/home/jef/notebooks/day1/01-basics.jl
for Linux users).
This should open a browser window with the Pluto notebooks. The first time it can take a while (up to 10 minutes) since it is installing all the dependencies.
UGent Doctoral School member and Julia questions? Send one of us an email!
Authors: Bram De Jaegher, Michiel Stock, Daan Van Hauwermeiren