Julia LanguageTypes


Syntax

  • immutable MyType; field; field; end
  • type MyType; field; field; end

Remarks

Types are key to Julia's performance. An important idea for performance is type stability, which occurs when the type a function returns only depends on the types, not the values, of its arguments.