Overview of Starlark
masterStarlark (formerly Skylark) is a deterministic, hermetic, and parallel-friendly configuration language. It is a dialect of Python, featuring a highly readable syntax, dynamic typing, high-level data types, first-class functions with lexical scope, and garbage collection.
Key characteristics include:
- Deterministic evaluation: Executing the same code twice yields the same results.
- Hermetic execution: Code cannot access the file system, network, or system clock, making it safe to execute untrusted code.
- Parallel evaluation: Modules can be loaded in parallel because shared data is immutable.
- Simplicity: Designed to be easy to read and write with a minimal number of concepts.