Live data from Hacker News

Install Asdf: One Runtime Manager to Rule All Dev Environments

jdsalaro.com

11–20 of 132 posts

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#11
post #7

I've used asdf for years, but recently switched to https://github.com/jdx/mise It's a drop-in replacement for asdf, but I prefer some of the nice features it has to offer. See: https://mise.jdx.dev/dev-tools/comparison-to-asdf.html

I still prefer asdf. It does the job just fine. Direnv has its own stdlib, which sometimes I find useful, and make is something I have to install anyway.

[dead]

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#12

Because of the insanity of python versions, paths, wheels etc and tiredness of spending time getting poetry install to work for project X due to also needing a full rust and c++ toolchain for some dependency etc.. .. I run everything for a project in a container. Each project then matches perfectly the container actually used in production, so if it works there, it also works on my machine. I just volume mount the pr…

Whish there were some CLI to speed up this process actually. Just cd:ing into a folder should pull everything down for you to run iex/irb/node/etc as if it was native but running through the container.

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#13
post #7

I've used asdf for years, but recently switched to https://github.com/jdx/mise It's a drop-in replacement for asdf, but I prefer some of the nice features it has to offer. See: https://mise.jdx.dev/dev-tools/comparison-to-asdf.html

I still prefer asdf. It does the job just fine. Direnv has its own stdlib, which sometimes I find useful, and make is something I have to install anyway.

I was only vaguely aware of rtx, but after discussing this post at length with people online they've made me aware of the rebranding and the general capabilities of mise.

It sure is great, it is! However, like you, I tend to prefer minimalistic and predictable tools.

That's why I decided to add the small comment in the discussion section of the post, to be fair but also kind of clear that bloating the runtime manager that was supposed to help manage the bloated runtimes and package managers isn't a great idea.

Having said that, if the scope of mise stabilizes and it doesn't turn into a kitchen-sink kind of project, it sure seems sweet!

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#14

I’m liking pkgx over asdf as it can activate project tooling upon cd’ing into a project folder. https://pkgx.sh

it certainly looks interesting! I'm still not sure if "It’s npx for everything else" is good marketing :P

> can activate project tooling upon cd’ing into a project folder

this probably can be replicated with zsh hooks: https://zsh.sourceforge.io/Doc/Release/Functions.html#Hook-F...

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#15

I've used asdf for years, but recently switched to https://github.com/jdx/mise It's a drop-in replacement for asdf, but I prefer some of the nice features it has to offer. See: https://mise.jdx.dev/dev-tools/comparison-to-asdf.html

I recently started using https://github.com/prefix-dev/pixi for Python projects. I really love it so far, but this tool looks a bit more mature, which makes sense considering pixi is relatively new.

> I recently started using https://github.com/prefix-dev/pixi for Python projects

Why is it based on the Conda ecosystem? Do you happen to know?

I assume it's for portability, but that sounds heavy.

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#16

Because of the insanity of python versions, paths, wheels etc and tiredness of spending time getting poetry install to work for project X due to also needing a full rust and c++ toolchain for some dependency etc.. .. I run everything for a project in a container. Each project then matches perfectly the container actually used in production, so if it works there, it also works on my machine. I just volume mount the pr…

Yeah. IMO, you don’t need to go very far into OS-level dependencies before it just makes more sense to use Docker. asdf et al can try to smooth the experience out all they want, and they certainly make things better, but unless your developer machines are REALLY standardised, it’s really building a castle on sand.

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#17

Because of the insanity of python versions, paths, wheels etc and tiredness of spending time getting poetry install to work for project X due to also needing a full rust and c++ toolchain for some dependency etc.. .. I run everything for a project in a container. Each project then matches perfectly the container actually used in production, so if it works there, it also works on my machine. I just volume mount the pr…

just curious, have you tried using asdf.vm with pipenv ? I've never needed anything else and have yet to have any problems.

A couple of moons ago I used Poetry, but gave up on it because it was so heavy and unfortunately would bug out often.

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#18

Wait, not only is it called asdf leading to confusion, it literally is also a package manager of sorts just like the original asdf??? I just tried googling it having not really used CL in a while, and apparently it was seo'd to the top of google results too?

What's the "original asdf?"

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#19

Wait, not only is it called asdf leading to confusion, it literally is also a package manager of sorts just like the original asdf??? I just tried googling it having not really used CL in a while, and apparently it was seo'd to the top of google results too?

What's the "original asdf?"

https://asdf.common-lisp.dev/

Re: Install Asdf: One Runtime Manager to Rule All Dev Environments

#20

Wait, not only is it called asdf leading to confusion, it literally is also a package manager of sorts just like the original asdf??? I just tried googling it having not really used CL in a while, and apparently it was seo'd to the top of google results too?

What's the "original asdf?"

https://en.wikipedia.org/wiki/Another_System_Definition_Faci...

(it's bit like Python stealing the name of a CL compiler ...)

Post reply on HN