Comments (5)
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.
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.
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.
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.
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)
- Avoid hardcoding usernames and variables when possible HOT 3
- Suggestion: include .vimrc HOT 7
- Error No such file or directory, on set-theme script HOT 2
- Suggestion: use `LocalAppData` environment variable to get path to Windows Terminal HOT 3
- installation issue Debian 11 HOT 7
- ~/.bash_history history command list HOT 18
- Screen black if I change to light version then it's white without any color. HOT 5
- .tmux.conf styles HOT 2
- Gnome terminal defaults cause errors HOT 5
- Move .zprofile to .zshenv for normal linux installs? HOT 3
- vim starts up very slow nearly 30 seconds HOT 2
- is it a good idea to make a dock container without such setup hassel? HOT 1
- slow start-up while opening files using vim HOT 1
- vim error E492: Not an editor command: ++nested call s:hijack_directory() HOT 2
- How do you keep your Windows file up to date? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.