Related: Buck2 has used Starlark, an embedded Python-like interpreter in Rust, for several years. Bazel may also use it but I'm not sure if it's the Go or the Rust implementation. https://github.com/facebook/starlark-rust
Bazel uses neither of those; Bazel's Starlark interpreter (which is the original Starlark implementation, predating the Go and Rust ones) is written in Java. It hasn't been extracted into a standalone library with a stable API, so only Bazel can really use it. https://github.com/bazelbuild/bazel/tree/master/src/main/jav...
Funny how things become faster just by writing them in Rust.
The benchmarks tell otherwise
Related: Buck2 has used Starlark, an embedded Python-like interpreter in Rust, for several years. Bazel may also use it but I'm not sure if it's the Go or the Rust implementation. https://github.com/facebook/starlark-rust
Bazel uses neither of those; Bazel's Starlark interpreter (which is the original Starlark implementation, predating the Go and Rust ones) is written in Java. It hasn't been extracted into a standalone library with a stable API, so only Bazel can really use it. https://github.com/bazelbuild/bazel/tree/master/src/main/jav...