3 ms·
What is your opinion on config files used by the Bazel build system, written in a programming language called Skylark [1] (much like Python)? I haven't looked i
by joppy 6y ago
What is your opinion on config files used by the Bazel build system, written in a programming language called Skylark [1] (much like Python)? I haven't looked into it but it seems plausibly Turing-complete, or at least powerful enough to cause problems in the same way a Turing-complete language would.
[1]: https://docs.bazel.build/versions/3.3.0/skylark/language.html https://docs.bazel.build/versions/3.3.0/skylark/language.htm...
- kstenerud 6y agoIt's fine if you don't consider the config files a threat vector.
- laurentlb 6y agoFor the record, Starlark has some restrictions: no infinite loops, no access to the world, etc. It's true that computations could be arbitrary long (as with most other languages). Bazel has a flag to reduce this kind of problem (--max_computation_steps).