4 ms·
Using it for several months and liking it a lot. No shims, just PATH entries. And the slight overhead introduced by shims is gone as a result.
by pdimitar 3y ago
Using it for several months and liking it a lot. No shims, just PATH entries. And the slight overhead introduced by shims is gone as a result.
- trallnag 3y agoMise uses asdf, which heavily relies on shims. But you are saying that mise does not use shims?
- lervag 3y ago`mise` does not use shims by default, but it does have support for it. See https://mise.jdx.dev/dev-tools/shims.html https://mise.jdx.dev/dev-tools/shims.html.
- pdimitar 3y agoWhere are you getting "mise uses asdf" from? mise is simply compatible with all asdf plugins. Not the same thing. It's even said almost at the top of the README.md in the "30 seconds demo" section: "The following shows using mise to install different versions of node. Note that calling which node gives us a real path to node, not a shim." https://github.com/jdx/mise?tab=readme-ov-file#30-second-demo https://github.com/jdx/mise?tab=readme-ov-file#30-second-dem... So yes, mise does not use shims. It only manipulates $PATH. I did benchmarks a while ago and that definitely and consistently has shaved some milliseconds off of the startup times of my tools.
- oakesm9 3y agoYou may have out of date information there. Mise was previously jdx and it used to use some of asdf plugins directly. Most of those have now been replaced by built in mode plugins for the popular runtimes. I believe it still has the option to use asdf plugins if you want to though.
- khimaros 3y agoi think you mean previously "rtx"
- jdxcode 3y agoI was actually thinking today that shims and PATH at the same time might be the best of both worlds... though that's just a funny thought exercise I'm having right now. If some brave soul is out there and wants to experiment, please let me know how it works out :)
- pdimitar 3y agoPlease don't, I like mise more than asdf exactly because of that simplicity! And because it's written in Rust, not going to lie.