News for hackers. Stuff that matters.
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.