favicon here hometagsblogmicrobio cvtech cvgpg keys

Juliaup is the next generation version manager for Julia

Soc Virnyl Estela | 2023-05-16 | reading time: ~3min

The Julia programming language has gained more improvements over the years. The latest version as of writing is 1.9.0 - one of the biggest improvements of Julia in the 1.x series. Hoping more to come!

What is Juliaup?§

juliaup is a version manager for Julia much like pyenv or rbenv. It's functionality closely aligns with rustup.

If you want to know more, check out their github repository at https://github.com/JuliaLang/juliaup.

Why should you use Juliaup?§

The usual way of downloading release binaries at the official website is not really much of a hassle. However, downloading different versions of Julia can take more time to browse around.

There are two version managers for Julia: jill.py and juliaup.

As you may have noticed, jill.py is a python script that installs Julia and juliaup is written in Rust. I cannot compare their differences as I never tried the former. I suggest you try either one of them.

Installing a Julia release channel in juliaup is quite easy. To check available channels, you run juliaup list. To add a channel, say 1.5.0, you run juilaup add 1.5.1. To make a channel the default, you run juliaup default 1.5.0.

For me, you should use juliaup since it includes features such as the ability to run a version (as long as it is added) using their own Julia caller called julialauncher. You can symlink or alias that as julia. For example, if you want to run version 1.6.0, you can do so by running julialauncher +1.6.0 or julia +1.6.0.

There is plan in the future releases to make a duplicate launcher of julialauncher that is called julia. I do believe it will just add more confusion though. I just symlink it instead. But that is because juliaup has not been hosted yet on crates.io. See issue #639.

Anything to improve?§

I think a feature I want to have in juliaup is this one - https://github.com/JuliaLang/juliaup/issues/10. I do think that the idea of having juliaup.toml in the root directory of a project is convenient. Rust does that with rust-toolchain.toml. But again, it is up to debate because there were some issues of maybe duplicating the functionality of Project.toml and Manifest.toml and selecting the version inside those two configuration files mitigates that issue rather than using juliaup.toml. The workaround for now is to use the JULIAUP_CHANNEL environmental variable with direnv or whatever env "manipulation" tool you use.

Again, if you want to explore juliaup, you can do so by checking first the repository at https://github.com/JuliaLang/juliaup.

If you use openSUSE, just run sudo zypper in juliaup and you are good to go.

Articles from blogs I follow around the net

Status update, November 2024

Hi all! This month I’ve spent a lot of time triaging Sway and wlroots issues following the Sway 1.10 release. There are a few regressions, some of which are already fixed (thanks to all contributors for sending patches!). Kenny has added support for softwa…

via emersionNovember 21, 2024

Key Transparency and the Right to be Forgotten

This post is the first in a new series covering some of the reasoning behind decisions made in my project to build end-to-end encryption for direct messages on the Fediverse. (Collectively, Fedi-E2EE.) Although the reasons for specific design decisions sho…

via Dhole MomentsNovember 21, 2024

The Ethereum MEV Bots are a scam

Several months ago, I wrote this article: The Fascinating Ethereum MEV Bot Scam, where I dived deep into the technical aspects of a scam that has been circulating for years on platforms like X.com and YouTube. These scams revolve around deploying smart…

via Christian Visintin BlogNovember 19, 2024

hyper in curl Needs a Champion

tl;dr - hyper in curl is nearly complete, but it needs a champion. Without a partner actively engaged that wants to enable and ship, it’s now on the path for being deprecated and removed. It needs a champion, a backing vendor or distro. Will that be you? …

via seanmonstarNovember 19, 2024

Swift observations from a reluctant Rustacean

Recently I've been thinking about Swift in terms of Rust, & have appreciated anew some of the choices made. In Rust. There's been a proliferation of X vs Y posts on the web, especially since the advent of LLM AI, so I try to resist the format. It's often e…

via Mike KreuzerNovember 16, 2024

Go Concurrency Patterns

Goroutines Channels Select Statement Wait Groups Mutex Conditions Atomic Operations Once Context Map Real Examples Goroutines The go keyword is used to start a goroutine. A goroutine is a lightweight, managed thread used by the Go runtime to run functions …

via Posts on integralistNovember 15, 2024

Generated by openring-rs

favicon here hometagsblogmicrobio cvtech cvgpg keys