Intensive Julia workshop that takes you from zero to hero
MIT License
Table of Contents
This is an intensive workshop for the Julia language, composed out of three 2-hour segments. It targets people already familiar with programming, so that the established basics such as for
-loops are skipped through quickly and efficiently. Nevertheless, it assumes only rudimentary programming familiarity and does explain concepts that go beyond the basics. The goal of the workshop is to take you from zero to hero (regarding Julia): even if you know nothing about Julia, by the end you should be able to use it like a pro.
The material has been updated during July-December 2023 to Julia v1.9+ and corresponding latest stable versions of used packages
This workshop is also available on YouTube: https://www.youtube.com/watch?v=Fi7Pf2NveH0 in its original form, however the current notebook versions are significantly more streamlined and of higher educational quality!
Installing Julia and the environment you want to program Julia in is NOT part of this workshop! There are many options, up to preference, and may even depend on your operating system. And some options may be impossible depending on your environment, who knows!
To participate in this workshop, we recommend that you follow these steps to get started with a Julia programming environment:
juliaup
command line tool for installing and managing Julia, but you can use whatever means you want. After installing Julia, you can launch it, which will launch the REPL (read-evaluate-print-loop) environment where you can immediately start coding and running Julia in.Julia
and install. Once this is done, you should be able to run Julia within VSCode without any further configuration. Examples of what is possible:
Alt+J, Alt+O
in VSCode..jl
text file) you may evaluate any amount of code in the script interactively. E.g., Ctrl+Enter
evaluates current line being edited. The Julia process that evaluates the script is the same as the one in the console you get in point 1. The Julia console and the text editor window are linked!
install_and_compile.jl
Julia script. This is also a good test that you have correctly installed Julia.Julia is a relatively new programming language, developed at MIT, with version 1.0 released in August 2018. It was developed particularly targeting scientific computing applications. Even though it is so recent, it has taken the scientific community by storm and many large scale projects have started using Julia.
The Julia documentation outlines the main facts and features of Julia.
I've put my thoughts on how to answer this question in Why Julia - a Manifesto.
Much of the material of this workshop is created by the author (George Datseris). However significant content comes from the following sources: