Julia: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Focus on Julia 1.6 first since that is the latest version)
mNo edit summary
Line 12: Line 12:


<!--T:4-->
<!--T:4-->
The first time you add a package to a Julia project (using Pkg.add or the package mode), the package will be downloaded, installed in <code>~/.julia</code>, and pre-compiled. The same package can be added to different projects, in which case the data in <code>~/.julia</code> will be reused. Different versions of the same package can be added to different projects; the required package versions will coexist in <code>~/.julia</code>. (Compared to Python, Julia projects replace “virtual environments” while avoiding code duplication.)
The first time you add a package to a Julia project (using <code>Pkg.add</code> or the package mode), the package will be downloaded, installed in <code>~/.julia</code>, and pre-compiled. The same package can be added to different projects, in which case the data in <code>~/.julia</code> will be reused. Different versions of the same package can be added to different projects; the required package versions will coexist in <code>~/.julia</code>. (Compared to Python, Julia projects replace “virtual environments” while avoiding code duplication.)


From Julia 1.6 onwards, Julia packages include their binary dependencies (such as libraries). There is therefore no need to load any software module, and we recommend not to.
From Julia 1.6 onwards, Julia packages include their binary dependencies (such as libraries). There is therefore no need to load any software module, and we recommend not to.
cc_staff
127

edits

Navigation menu