#How do folks decide when to use a native

1 messages · Page 1 of 1 (latest)

weak finch
#

There are pros and cons to each approach, but I think a lot of it comes down to caching.

For now, one rule of thumb is that Dagger will automatically cache a bunch of stuff that happens inside of DAG that is generated by the Dagger Functions you're using like WithExec, but not the parts that are written in standard language code.

tidal fiber
#

Ahh gotcha that makes sense. If I use standard language code, is the compilation of that still cached at least? This makes me think that in general I might be better to take my standard language code and have dagger compile it and put it into a container and then WithExec it that way.

#

I like the ease with which I can execute a CLI command like aws without having to setup all the auth/client stuff myself if I’m doing something simple like retrieving an ecr token.

weak finch