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.
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
.
1.10.0
: juliaup add 1.10.0
juliaup default 1.10.0
.For windows users:
Juliaup
: there is a start menu shortcut and it will show up as a profile in Windows Terminal. For Linux users:
/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
Juliaup
: julia is added to your path and can be started by executing julia
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.
using Pkg; Pkg.add("Pluto")
. This will take two minutes.using Pluto; Pluto.run()
. It will open in your browser.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