November 2016
Intermediate to advanced
697 pages
14h 44m
English
Julia is a dynamically typed language in which, unlike languages such as Java or C, the programmer does not need to specify the fixed type of every variable in the program. Yet, somewhat counterintuitively, Julia achieves its impressive performance characteristics by inferring and using type information for all the data in the program. In this chapter, we will start with a brief look at the type system in the language and then explain how to use this type system to write high-performance code.
Types in Julia are essentially tag-on values that restrict the range of potential values that can possibly be stored at this location. Being a dynamic ...
Read now
Unlock full access