June 2019
Intermediate to advanced
218 pages
5h 19m
English
One of the first performance tips that you come across when learning Julia is the advice to not use global variables. This is usually not a very onerous requirement, as the global state is generally considered bad programming practice. Given how easy it is to fall into this trap and the large amount of performance degradation that can occur, it is important to keep this in mind when writing Julia code. This is particularly important when working on the REPL or in an IJulia notebook, since it is natural to create globals in those environments.
Read now
Unlock full access