Post

@neugierig.org Sorry that I answer here because of a lack of a lobste.rs account. Just read your comment on "Reforging the ReScript build system" and it is 100 % not ninjas fault that we moved to a self-made build-system.

lobste.rsLobsters

0 reposts5 likes

1. The CLI was in JS, is now all Rust. 2. The binary that wrote the ninja build rules was in OCaml, now that functionality is done in a Rust binary 3. The watcher (also OCaml) was somewhat hard to understand and couldn't handle npm workspace repos, rearchitecting was necessary anyways

4. Rust has already a great JS tooling ecosystem, e.g. for npm dependency resolving stuff 5. ReScript generally is about owning the whole stack and vertical integration in order to deliver the best DX. So we just have to own everything.

6. Yes, the build system is also more closely connected to our editor tooling, it emits some useful metadata that helps improve error messages. 7. We might have just been to dumb understand the whole feature set of ninja 😅