Ruby doesn't have to be the slow part, bazel uses starlark which is mostly python and it's very fast.