Remix.run Logo
echelon 2 hours ago

Rust has the nicest workspaces of any language I've dealt with. It makes monorepos naturally easy to build. No manually cobbled together Pants or Bazel or hacks - it's first class out of the box.

Here's a rather large workspace with desktop apps, server apps, CLI tools, and libraries:

https://github.com/storytold/artcraft/blob/main/Cargo.toml

Cargo allows you to universally pin dependencies and features across the entire repo (if you'd like), though you can also deviate from this.

Javascript, on the other hand, is not very fun. I've used Nx, Lerna, and native tools. The tooling is esoteric, and the setup is arcane.