4 ms·
I doubt Bazel will take off for most open source projects due to being written in Java, but I do share the sentiment. I've been meaning to try and write a some
by steinuil 9y ago
I doubt Bazel will take off for most open source projects due to being written in Java, but I do share the sentiment.
I've been meaning to try and write a somewhat saner build system to replace the Auto* hell, at least for C and C++. I'm focused on other things right now but I've been studying and collecting information about the architecture of many other build systems for a while, and some of them are so much ahead of those used in open source projects it's not even funny. At the very least I'll be writing a lengthy blog post with my findings.
- numbsafari 9y agoThe java dependency is my biggest hangup wrt to incorporating it into my own environment. So far, I've avoided having to incorporate the JDK into my stack. Having to bring it in just for a build tool, keeping it up-to-date on developer configurations, just feels like a royal pain. I realize it's never gonna happen, but having bazel rewritten in Go or C++ or anything else that produces a single binary would be awesome.
- brabel 9y agoThey just need to use Java9 modules so they can use jlink to produce native binaries. No need to use another language.
- pebers 9y agoWe have done more or less that: https://please.build https://please.build / https://github.com/thought-machine/please https://github.com/thought-machine/please It's written in Go so doesn't need any external dependencies unless you want to target that language (i.e. it only needs a JDK if you're trying to build Java). Disclaimer: I'm the main author.
- numbsafari 9y agoWow. Looks good! Thanks for the heads up.
- skybrian 9y agoSkylark (the language used by Bazel) is being ported to Go. Maybe a good place to start? https://github.com/google/skylark https://github.com/google/skylark