envd
envd copied to clipboard
discussion(lang): Python or Starlark
Maybe we can also support python SDK for envd.
What's about nix?
Nix is too hard to learn for data scientists, I think.
/cc @Thrimbda
The learning curve of nix is too steep. We also found an interesting project https://github.com/maxmcd/bramble using starlark as the frontend language for nix.
Actually, I don't think Nix is a good choice, it's a little bit hard to use, even for the developer.
Python or Lua would be better, I think
I really love the concepts of Nix. But it is too hard.
Maybe we could refer to the design of Nix(OS) in some degree.
It's also valuable to take sbt a look: https://www.scala-sbt.org/
@Xuanwo
I heavily used scala when I was at the university. And the sbt makes me suffer. :smile:
I am wondering which part you think sbt is great.
https://docs.earthly.dev/ Earthly seems cool too!
I am wondering which part you think sbt is great.
Honestly, I know very little about sbt, just FYI (this is why I said take a look).
Yep, if you read the readme of earthly, you will find that the graph
is learnt from earthly readme.
One question is that as we support more OS and languages (e.g. R language), does it still make sense to use Starlark? We may still be fine since Starlark is simple enough.
I suggest starlark since we can provide extensible syntax to users. Then they can use their own func without forking envd.
load("user-defined-func")
user-defined-func(xxx)
Just like https://github.com/tilt-dev/tilt-extensions or Bazel does.
I am closing the issue. But feel free to leave comments if there is any problem.