Hacker News new | ask | show | jobs
by drewm1980 1744 days ago
Bazel's learning curve is really high if you're learning it from the scratch from the web. It took me most of a week to figure out how to write a custom rule that just calls a python script that dumps out a tree of files. What would been a few lines of makefile turned into about a hundred lines of starlark boilerplate. I haven't given up on it yet, but you need to be using it for something serious to have any hope of amortizing the cost of porting a build to it. Rust+Bazel is combining two niches; I'm surprised there is any support at all at the intersection.
1 comments

There's support because Google uses Bazel and Rust, so they need a way to use Rust from Bazel.

I haven't really used Bazel much, but the features it brings are really huge: reliable pure compilation, so you can actually do globally cached and distributed builds reliably.

Maybe I should try it.