I needed a way to build a large monorepo of mixed language projects that cached results across developer machines and CI runs. I wanted to use Nix, but not constantly be updating Nix hashes separately from language lockfiles. Then I did it for many popular languages. The project is still early and uses Nix dynamic derivations experimental features. The Go and TypeScript builders are the most mature and optimized so far. Try it out and see if it works for you! https://t.co/IZttZR6io6
Our Black Friday sale is back with great discounts on over 1000 of our top products, including our Zumo and 3pi+ robots, motors and motor drivers, sensors, and so much more. Check out all the deals on the sale page!
https://t.co/e8ahSO8Ffy
Unlike say electricity, token demand grows in step functions as we find ways to put more compute to use on behalf of a single user.
auto-complete -> chat -> agent -> long-running autonomous agents -> swarms
Each harness innovation unlocks an order of magnitude more potential token consumption.
But then there’s a lag between these new tools and users figuring out what to do with them.
@vkryachko I feel the ideal structure is two top level dirs app/ and pkg/. app contains the deployed entrypoint packages and pkg contains the pure library packages. I haven't fully applied this pattern yet to our monorepo.
I needed a way to build a large monorepo of mixed language projects that cached results across developer machines and CI runs. I wanted to use Nix, but not constantly be updating Nix hashes separately from language lockfiles. Then I did it for many popular languages. The project is still early and uses Nix dynamic derivations experimental features. The Go and TypeScript builders are the most mature and optimized so far. Try it out and see if it works for you! https://t.co/IZttZR6io6
Sure! It assembles the package manager directories of dependencies via cached nix packages instead of using the package manager's caches. This lets you share the builds across your team and CI. It also can build packages and applications in your monorepo in the same way and test them. It's meant to be a replacement for all the go2nix, pnpm2nix type language systems and to unify their UX.
@domenkozar I have some internal benchmarks based on Replit's monorepo for go and typescript and they look quite favorable for our CI use case, but I suspect there are a lot of details here that matter. I also care about the UX. Having to regenerate hashes tends to lead to merge conflicts.
@Charles_CTy My little exposure to Bazel was with a repo where we were constantly having to regenerate checked in Bazel build files and getting conflicts with them with coworkers. I've heard lots of places use though, is it good?