Re:Asdf – the language tool version manager
by rektide on Monday October 24, 2022 @06:53PM
(#33323715)
Rarely have I seen a tool adopted so swiftly and at such scale. It eats the role of hundreds of other language & tool specific version managers, and whatever the secret sauce is, it's nicely fast & relatively low pain. Hats off to asdf. Major major delta in devs lives from this recent-ist new more-meta contender.
[ Parent
| on HN ]
Re:Asdf – the language tool version manager
by viraptor on Monday October 24, 2022 @07:12PM
(#33323874)
> whatever the secret sauce is, it's nicely fast
Mostly by reusing existing version managers, which have been developed and optimised over the years. Asdf itself is a relatively thin wrapper really.
Re:Asdf – the language tool version manager
by sweetgiorni on Monday October 24, 2022 @09:38PM
(#33325114)
I don't think I've even seen an asdf plugin that directly uses a version manager. They generally seem to either A) download prebuilt binaries or B) fallback to building from source. Either way the installs go straight to ~/.asdf/installs.
The only exception I can think of is any dependencies on libraries that may or may not be installed by the system package manager. Even then, those dependencies are often optional.
Re:Asdf – the language tool version manager
by viraptor on Monday October 24, 2022 @11:15PM
(#33325752)
Yeah, I should've been more precise. The asdf plugins use parts of existing systems. For example (python/ruby/node)-build which mostly come from other version managers. Asdf does provide extras, but the plugin-specific code is tiny: https://github.com/asdf-community/asdf-python/blob/master/bi...
Re:Asdf – the language tool version manager
by eproxus on Tuesday October 25, 2022 @03:02AM
(#33327148)
The Erlang plug-in does this. It uses the older and well-tested Kerl under the hood, but you the nice UI of asdf on top instead.
Re:Asdf – the language tool version manager
by drdaeman on Monday October 24, 2022 @07:21PM
(#33323960)
`asdf` is a great tool but I'd like to remind people that it's probably a smart idea to be agnostic to it, for the very same reasons they should've been agnostic to their previous technologies of choice that `asdf` had replaced.
Re:Asdf – the language tool version manager
by crawl_soever on Monday October 24, 2022 @07:27PM
(#33324015)
I have an issue out to make it agnostic of keyboard layouts if that helps! https://github.com/asdf-vm/asdf/issues/930
Re:Asdf – the language tool version manager
by metadat on Monday October 24, 2022 @07:31PM
(#33324053)
alias aoeu='asdf'
Seems like a reasonable shortcut compared to trying to do keyboard layout detection.
Re:Asdf – the language tool version manager
by hyperupcall on Monday October 24, 2022 @09:29PM
(#33325031)
Hmm, yeah I saw that one. Still don't think the motivation is super strong
Re:Asdf – the language tool version manager
by qbasic_forever on Monday October 24, 2022 @08:17PM
(#33324485)
The secret sauce is a low barrier to entry. An asdf tool is just a shell script that does the work to list packages, download and install them, etc. You can make a simple tool script in an afternoon.
The low barrier to entry is also a bit of a curse too. The quality of asdf tool scripts varies wildly. Anything not maintained by their core org is a crapshoot in my experience. Many of those smaller tools don't support ARM or have lots of undocumented dependencies or quirks.