# Julia package system

**URL:** <https://community.tmpdir.org/t/julia-package-system/339>\
**Category:** Software\
**Created:** [October 21, 2021, 11:04pm UTC](https://community.tmpdir.org/t/julia-package-system/339 "2021-10-21T23:04:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khem](https://community.tmpdir.org/user_avatar/community.tmpdir.org/khem/32/5_2.png) [@khem](https://community.tmpdir.org/u/khem)\
**Post date:** [October 21, 2021, 11:04pm UTC](https://community.tmpdir.org/t/julia-package-system/339/1 "2021-10-21T23:04:55Z")

</div>

I read through this article on LWN and it brings up some nice points about packaging, perhaps something for go, rust, npm ecosystem to learn

> **[Digging into Julia's package system](https://lwn.net/Articles/871490/)**
>
> We recently looked at some of the changes and new features arriving with the upcoming version 1 \[...\]

---

<div class="post-metadata">

**Author:** ![cbrake](https://community.tmpdir.org/user_avatar/community.tmpdir.org/cbrake/32/3_2.png) [@cbrake](https://community.tmpdir.org/u/cbrake)\
**Post date:** [October 22, 2021, 1:45am UTC](https://community.tmpdir.org/t/julia-package-system/339/2 "2021-10-22T01:45:42Z")

</div>

A lot of neat ideas in [Julia](https://julialang.org/). I like the tight integration with Git – we are seeing this more and more in various tools. Also reminds me some of the Go modules – you can have multiple versions of modules installed. You can even have multiple major versions of a module used in the same application.

> In an [article](https://lwn.net/Articles/834571/) from a year ago, I traced Julia’s popularity in the sciences in part to its unique ability to allow users to combine features from multiple third-party modules. This is enabled by Julia’s type system, its use of multiple dispatch, and its optimizing just-ahead-of-time compiler. But it is made convenient by the package system, which removes the pain from managing a diverse library of software; it is similar to the way that Git revolutionized painless branching and merging, which encouraged programmers to be more willing to experiment with features.

Package management is an important feature in a modern language. As much as we don’t like dependencies (and the various problems they can cause), we can’t write everything from scratch, so they are a fact of life.

---

<div class="post-metadata">

**Author:** ![cbrake](https://community.tmpdir.org/user_avatar/community.tmpdir.org/cbrake/32/3_2.png) [@cbrake](https://community.tmpdir.org/u/cbrake)\
**Post date:** [October 22, 2021, 2:06am UTC](https://community.tmpdir.org/t/julia-package-system/339/3 "2021-10-22T02:06:11Z")

</div>

So I gave the Pluto interactive notebook a try .. very impressive!

 ![image](https://community.tmpdir.org/uploads/default/original/1X/d330f6b7ab6c1d3497717dfe8d8d1524df8a7a55.png)

I also like the notebooks are saved in pure Julia `*.jl` files – much cleaner than the XML used by Jupyter notebook and enables efficient storage and review in Git. I will definitely check this out next time I need to do a math notebook …

 ![image](https://community.tmpdir.org/uploads/default/original/1X/b45a633da33f0b224071d0108b1b57aaa1c0f010.png)

Another interesting article about Julia:

[https://towardsdatascience.com/freeing-the-data-scientist-mind-from-the-curse-of-vectorization-11634c370107](https://towardsdatascience.com/freeing-the-data-scientist-mind-from-the-curse-of-vectorization-11634c370107)

> Nowadays, most data scientists use either Python or R as their main programming language. That was also my case until I met Julia earlier this year. Julia promises performance comparable to statically typed compiled languages (like C) while keeping the rapid development features of interpreted languages (like Python, R or Matlab). This performance is achieved by just-in-time (JIT) compilation. Instead of interpreting code, Julia compiles code in runtime. While JIT compilation has been around for sometime now (e.g. [Matlab introduced it in 2002](https://blogs.mathworks.com/loren/2016/02/12/run-code-faster-with-the-new-matlab-execution-engine/)), Julia was designed for performance with JIT compilation in mind. Type stability and multiple-dispatch are key design concepts in Julia that put it apart from the competition. There is a [very nice notebook](https://ucidatascienceinitiative.github.io/IntroToJulia/Html/WhyJulia) by the Data Science Initiative at the University of California that explains these concepts if you want to learn more.

So many good tools, so little time …
