Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Programming languages

Julia

Julia 1.13 for scientific computing: numbers and arrays, types and multiple dispatch, packages, fast code, parallel work and the numerical ecosystem.

38 lessons to read 10 modules

38 lessons: 31 free with Pro answers and 7 with a free core.

Examples run with julia 1.13.1.

Who it is for

Scientists, engineers and numerical programmers.

What you will be able to do

  • Install Julia with juliaup, run code in the REPL, scripts and notebooks, and keep a session current with Revise
  • Write correct numerical code with integers, floating point, rationals and complex numbers
  • Use arrays, views, broadcasting and reductions the way column-major Julia expects
  • Model problems with structs, parametric types and methods that dispatch on every argument
  • Build reproducible projects with modules, Pkg environments and committed manifests
  • Test, debug, benchmark and profile code, and make it fast with type-stable functions
  • Run work in parallel with tasks, threads, distributed workers and GPU kernels
  • Call C, Fortran and Python from Julia, and ship tools as apps or compiled executables
  • Solve linear systems, differential equations and optimisation problems with the Julia ecosystem

Revise and practise

Modules and lessons

What the labels mean

Free lesson, Pro answers
the whole lesson is free; the model answers to its interview questions open with a pass
Free core, Pro depth
the core of the lesson is free; its in-depth parts open with a pass
Pro
opens with a Pro, Premium or Ultimate pass

Minutes are reading time: “4 of 10 min free” means 4 minutes of the lesson are free.

What a pass opens in this track

14 in-depth parts and 83 interview answers. The same pass opens every other track and every Pro tool.

  1. Module 1

    Getting started: what Julia is for, installing it and running code

    Why scientists pick Julia, honest trade-offs, installing with juliaup, the REPL and scripts, notebooks, editors and the Revise workflow.

    1. What Julia is for, and when to choose it Beginner Free lesson, Pro answers: 15 minutes
    2. Install Julia with juliaup and manage versions Beginner Free lesson, Pro answers: 10 minutes
    3. The REPL, scripts and the @main entry point Beginner Free lesson, Pro answers: 10 minutes
    4. Notebooks, editors and the Revise workflow Beginner Free lesson, Pro answers: 10 minutes
  2. Module 2

    Variables, numbers and arithmetic

    Bindings, Unicode names, integer overflow and division, floating point as scientists meet it, rationals, complex numbers and maths functions.

    1. Variables, bindings and Unicode names Beginner Free lesson, Pro answers: 15 minutes
    2. Integers, overflow and integer division Beginner Free lesson, Pro answers: 10 minutes
    3. Floating point for scientists and engineers Beginner Free lesson, Pro answers: 10 minutes
    4. Rationals, complex numbers and maths functions Beginner Free lesson, Pro answers: 10 minutes
  3. Module 3

    Control flow, functions and scope

    Conditionals and loops, functions and their arguments, the scope rules behind Julia's most common beginner error, and functional style.

    1. Conditionals, loops and ranges Beginner Free lesson, Pro answers: 15 minutes
    2. Functions, arguments and keyword arguments Beginner Free lesson, Pro answers: 15 minutes
    3. Scope, closures and the soft-scope trap Intermediate Free lesson, Pro answers: 15 minutes
    4. map, filter, reduce, generators and composition Beginner Free lesson, Pro answers: 15 minutes
  4. Module 4

    Tuples, dictionaries, strings and text

    Tuples and named tuples, dictionaries and sets (including the 1.13 hash change), UTF-8 strings with Indian scripts, and regular expressions.

    1. Tuples, named tuples and pairs Beginner Free lesson, Pro answers: 20 minutes
    2. Dictionaries and sets, and the 1.13 order change Beginner Free lesson, Pro answers: 20 minutes
    3. Strings, characters and Unicode in Julia Beginner Free lesson, Pro answers: 20 minutes
    4. Regular expressions and parsing instrument logs Intermediate Free lesson, Pro answers: 20 minutes
  5. Module 5

    Arrays, indexing and broadcasting

    Vectors and matrices, column-major storage, copies versus views, broadcasting and fusion, reductions over dimensions, and a bridge for MATLAB, NumPy and R users.

    1. Arrays: vectors, matrices and column-major storage Beginner Free lesson, Pro answers: 15 minutes
    2. Indexing, slicing, copies and views Beginner Free lesson, Pro answers: 15 minutes
    3. Broadcasting, dot syntax and loop fusion Intermediate Free lesson, Pro answers: 15 minutes
    4. Reductions, reshaping and the dims keyword Intermediate Free lesson, Pro answers: 15 minutes
    5. Julia for MATLAB, NumPy and R users Intermediate Free lesson, Pro answers: 15 minutes
  6. Module 6

    The type system and multiple dispatch

    Abstract and concrete types, structs and constructors (and 1.12 redefinition), methods and dispatch on all arguments, parametric types, promotion and custom numbers, iteration and array interfaces.

    1. The type system: abstract and concrete types Intermediate Free lesson, Pro answers: 15 minutes
    2. Structs, constructors and redefining types (1.12+) Intermediate Free lesson, Pro answers: 15 minutes
    3. Methods and multiple dispatch Intermediate Free lesson, Pro answers: 15 minutes
    4. Parametric types and generic numeric code Intermediate Free lesson, Pro answers: 15 minutes
    5. Conversion, promotion and custom number types Advanced Free lesson, Pro answers: 15 minutes
    6. Interfaces: iteration and custom arrays Advanced Free lesson, Pro answers: 15 minutes
  7. Module 7

    Errors, nothing and missing

    Exceptions and error messages across versions, and the difference between nothing, missing and NaN in real datasets.

    1. Exceptions and error handling Beginner Free lesson, Pro answers: 15 minutes
    2. nothing, missing and NaN: absent values in Julia Intermediate Free core, Pro depth: 4 of 10 minutes free
  8. Module 8

    Modules, packages and reproducible environments

    Modules with export and public, Pkg environments and Manifests for reproducible science, writing and publishing packages, and the precompilation behind time-to-first-x.

    1. Modules, using, import, export and public Intermediate Free lesson, Pro answers: 15 minutes
    2. Julia environments: Project.toml and Manifest.toml Intermediate Free core, Pro depth: 6 of 15 minutes free
    3. Julia packages: create, test and publish Intermediate Free core, Pro depth: 6 of 15 minutes free
    4. Precompilation and time-to-first-x (TTFX) Advanced Free core, Pro depth: 6 of 15 minutes free
  9. Module 9

    Files, external programs and command-line tools

    Reading and writing files and common data formats safely, running external programs without a shell, and building command-line tools.

    1. Files, streams and data formats Beginner Free lesson, Pro answers: 20 minutes
    2. External programs, pipelines and command-line tools Intermediate Free core, Pro depth: 6 of 15 minutes free
  10. Module 10

    Testing, debugging and profiling

    Test.jl with the 1.12 and 1.13 additions, debugging with logging and introspection, and benchmarking and profiling without fooling yourself.

    1. Unit testing numerical code with Test Intermediate Free lesson, Pro answers: 15 minutes
    2. Logging, stack traces and introspection Intermediate Free core, Pro depth: 6 of 15 minutes free
    3. Benchmarking and profiling Julia code Intermediate Free core, Pro depth: 6 of 15 minutes free

Related tools

Official documentation

More in Programming languages

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.