Compilation process

Overview

Teaching: 30 min
Exercises: 0 min
Questions
  • What stages are in julia compilation involved?

Objectives
  • Learn the use of dump,@code_lowered,@code_llvm and @code_native.

  • Understand the implications of type in-/stability.

Key Points

  • type inference can be checked via @code_warntype

  • type stable code is significantly faster