Skip to content

Why can't I do X in Starlark? #1270

Answered by leeederek
guisellaDes asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @guisellaDes:
Starlark is intended to be a configuration and orchestration language, not a general-purpose programming language. It is excellent at simplicity, readability, and determinism, and terrible at general-purpose programming. We want to use Starlark for what it's good at, while making it easy for you to call down to whatever general-purpose programming you need for more complex logic.

Therefore, Kurtosis provides:

  1. plan.run_sh for running Bash tasks on a disposable container
  2. plan.run_python for running Python tasks on a disposable container
  3. plan.exec for running Bash on a service

All of these let you customize the image to run on, so you can functionally call any code in any …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by leeederek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants