moon
hash
Our great sponsors
moon | hash | |
---|---|---|
6 | 7 | |
2,584 | 946 | |
3.2% | 2.6% | |
9.7 | 9.9 | |
about 19 hours ago | 6 days ago | |
Rust | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
moon
-
Launch HN: Moonrepo (YC W23) – Open-source build system
(for context - I'm not interested in first class node support)
This seems pretty cool. I particularly like how 'gradual' it seems to be relative to things like Bazel, i.e. you can take some shell scripts and migrate things over. I did have a play and hit an initial problem around project caching I think, which I raised at [0].
One comment, from the paranoid point of view of someone who has built distributed caching build systems before is that your caching is very pessimistic! I understand why you hash outputs by default (as well as inputs), but I think that will massively reduce hit rate a lot of the time when it may not be necessary? I raised [1].
As an aside, I do wish build systems moved beyond the 'file-based' approach to inputs/outputs to something more abstract/extensible. For example, when creating docker images I'd prefer to define an extension that informs the build system of the docker image hash, rather than create marker files on disk (the same is true of initiating rebuilds on environment variable change, which I see moon has some limited support for). It just feels like language agnostic build systems saw the file-based nature of Make and said 'good enough for us' (honorable mention to Shake, which is an exception [2]).
- A build system and repo management tool for the web ecosystem, written in Rust
-
Building a full-stack TypeScript application with Turborepo
There are many tools like Lerna, Nx, Turborepo, Moon, Rush, and Bazel, to name a few. Today, we'll be using Turborepo, as it's lightweight, flexible, and easy to use.
-
Lerna reborn - What's new in v6?
You should give moon a try: https://moonrepo.dev/
- Moon - A build system for the javascript ecosystem, written in rust.
hash
-
GAMA Platform: building spatially explicit agent-based simulations
The founders of stackoverflow also founded a similar project
- Released error-stack v0.3.0
- Top OpenAI Tools, Examples & Use Cases
-
How should I propagate my errors to include a custom message, an exit code, and the original error?
Check out error_stack, which allows attaching custom messages, preserves the original error, and allows exit codes
-
Error Handling with error-stack
Feel free to ask me any questions on error-stack, either here or over at our repository!
-
Announcing error-stack: a context-aware error library that supports arbitrary attached user data!
hashintel/hash#602
What are some alternatives?
orogene - Makes `node_modules/` happen. Fast. No fuss.
hashes - Collection of cryptographic hash functions written in pure Rust
nx - Smart Monorepos · Fast CI
semantic-source - Parsing, analyzing, and comparing source code across many languages
mandelbrot - Microbenchmark testing Python, Numba, Mojo, Dart, C/gcc, Rust, Go, JavaScript, C#, Java, Kotlin, Pascal, Ruby, Haskell performance in Mandelbrot set generation
unordered-containers - Efficient hashing-based container types
napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API
text - Haskell library for space- and time-efficient operations over Unicode text.
hackerman - Cargo hack manager
rust - Empowering everyone to build reliable and efficient software.
turbo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo.
simuwaerm - A simple heat simulation in pure Rust.