3 ms·
> What sort of advantage do you imagine a build system like Bazel would provide for you? Build my C (or Rust, or Odin) Python extension, package the Python app
by jvolkman 4y ago
> What sort of advantage do you imagine a build system like Bazel would provide for you?
Build my C (or Rust, or Odin) Python extension, package the Python app with the extension and whatever other dependencies are required (e.g., generated protocol buffer libraries) into a Docker image, push the image to a docker repo, and apply changes to a Kubernetes deployment with a single command, and without doing any unnecessary work like rebuilding those native extensions if nothing has changed.
- hsn915 4y agoWhile that sounds abhorant to me, I can't think of a reason why you can't fit the odin compiler in there. Just have a step where the odin compiler is executed, and take its output and pipe it through the rest of the system.