GithubHelp home page GithubHelp logo

possible replacement of asdf about dotfiles HOT 5 CLOSED

nickjj avatar nickjj commented on May 20, 2024
possible replacement of asdf

from dotfiles.

Comments (5)

nickjj avatar nickjj commented on May 20, 2024

Hi,

Thanks for opening this, no I haven't heard of this project before. Although I've found that in practice any slowness related to asdf is related to things like compiling runtimes if no pre-compiled binaries exist for a specific platform. That's a 1-off use case during installation of a new runtime version and I'm not sure how mise would make that process much faster? Have you noticed other cases where asdf is slow to the point where switching to mise makes a noticeable difference?

My main concern would be supporting languages that aren't listed under languages in https://mise.jdx.dev/getting-started.html. For example if someone using my dotfiles has asdf set up to work with PHP, what would that look like for mise?

from dotfiles.

sassdavid avatar sassdavid commented on May 20, 2024

Hi,

Thank you for your prompt response.

It's surprising that you haven't noticed any slowness issues with asdf. I noticed the slowdown immediately upon installation and activation. My bash became slower, and the tools themselves were affected due to the shims. You can find more information about this issue at asdf-vm/asdf#290.

Additionally, there was an issue reported (asdf-vm/asdf#1565) regarding the differences between asdf and mise (formerly rtx). Please review it for further details.

The mentioned languages are highlighted because they are 'core' plugins implemented in Rust. However, you have the option to use asdf plugins. For example:

mise plugins install php https://github.com/asdf-community/asdf-php.git
mise install php@latest
mise use -g --pin php@latest

Feel free to explore mise further.

from dotfiles.

nickjj avatar nickjj commented on May 20, 2024

It's probably because I mostly use Docker to contain my apps. The only time I use asdf is to run an old version of Ruby / Node for Jekyll. On a Jekyll command that takes 3 seconds to run (incrementally reloading my blog in development), an extra 40ms doesn't make a noticeable difference. It's certainly not noticeable when I do a full blog build that takes 35 seconds.

Technically one of the Vim plugins I use uses Node too, but I don't notice any real delay when opening Vim.

from dotfiles.

sassdavid avatar sassdavid commented on May 20, 2024

Yes, I completely understand.

So, perhaps in your case, there isn't any noticeable or disturbing slowness when using asdf. However, for me, it was quite apparent, both during the prompt loading and when using the various tools, which proved to be distractingly slower.

I genuinely appreciate your dotfiles, and I wanted to bring up this option. It might be useful in the future. Therefore, I am closing this issue now.

from dotfiles.

nickjj avatar nickjj commented on May 20, 2024

Thanks. If you want we can move this to an open discussion that stays open. Then other folks can contribute to the conversation too. If mise wins in the end and some other folks mention they notice big wins when using it I'd be open to switching over.

from dotfiles.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.