Re:Launch HN: Moonrepo (YC W23) – Open-source build system
by umanwizard on Wednesday February 22, 2023 @12:08AM
(#34891892)
Unbounded loops have nothing to do with determinism. You can be deterministic and still Turing-complete.
Re:Launch HN: Moonrepo (YC W23) – Open-source build system
by duped on Wednesday February 22, 2023 @10:49AM
(#34897432)
No, I do actually want a real programming language. Determinism is orthogonal to this problem and it is actually outside the scope of whether you use a hobbled config language or a full scripting language to define your build - you need sandboxing to actually achieve it (like Nix).
The reason you might want a Turing-incomplete language is that you can prove the build terminates. However that's a lie, since you will always need to escape to running programs outside the language!
That said, Starlark is way closer to a real language (Python) than YAML.