just-flake VS macos-cross-compiler

Compare just-flake vs macos-cross-compiler and see what are their differences.

just-flake

Use `just` in your Nix devShells with re-usable and share-able targets. (by juspay)
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
just-flake macos-cross-compiler
1 5
44 375
- 1.9%
5.1 7.1
11 months ago 4 months ago
Nix Earthly
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

just-flake

Posts with mentions or reviews of just-flake. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-27.

macos-cross-compiler

Posts with mentions or reviews of macos-cross-compiler. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-20.
  • I Like Makefiles
    14 projects | news.ycombinator.com | 20 Sep 2024
    Many have mentioned just, but I'm a much bigger fan of Earthly [0].

    It allows you to write something similar to a Makefile, but everything runs in Docker. This gets you isolated builds with parallelism and caching built-in.

    I've found it to be great especially for small to medium projects. For some examples, I use it to publish my personal site/blog [1] and to build a C/C++/Fortran/Rust cross-compiler targeting macOS [2].

    [0]: https://earthly.dev/

    [1]: https://github.com/shepherdjerred/sjer.red/blob/main/Earthfi...

    [2]: https://github.com/shepherdjerred/macos-cross-compiler/blob/...

  • I stopped worrying and loved Makefiles
    7 projects | news.ycombinator.com | 27 Apr 2024
    Make is excellent if you use it properly to model your dependencies. This works really well for languages like C/C++, but I think Make really struggles with languages like Go, JavaScript, and Python or when your using a large combination of technologies.

    I've found Earthly [0] to be the _perfect_ tool to replace Make. It's a familiar syntax (combination of Dockerfiles + Makefiles). Every target is run in an isolated Docker container, and each target can copy files from other targets. This allows Earthly to perform caching and parallelization for free, and in addition you get lots of safety with containerization. I've been using Earthly for a couple of years now and I love it.

    Some things I've built with it:

    * At work [1], we use it to build Docker images for E2E testing. This includes building a Go project, our mkdocs documentation, our Vue UI, and a ton of little scripts all over the place for generating documentation, release notes, dependency information (like the licenses of our deps), etc.

    * I used it to create my macOS cross compiler project [2].

    * A project for playing a collaborative game of Pokemon on Discord [3]

    IMO Makefiles are great if you have a few small targets. If you're looking at more than >50 lines, if your project uses many languages, or you need to run targets in a Docker container, then Earthly is a great choice.

    [0]: https://earthly.dev/

    [1]: https://p3m.dev/

    [2]: https://github.com/shepherdjerred/macos-cross-compiler

    [3]: https://github.com/shepherdjerred/discord-plays-pokemon

  • Show HN: dockerc – Docker image to static executable "compiler"
    12 projects | news.ycombinator.com | 6 Mar 2024
    It will depend heavily on the docker image you're trying to ship. For example with macos-cross-compiler[0] the resulting binary is over 2GB. With python:alpine[1] it's only 25MB.

    Because image isn't copied whether the image is 2GB or 25MB the startup time will be nearly instantaneous for both.

    The runtime adds 6-7MB of overhead although I expect that this can be reduced to less than 3MB with some work.

    [0]: https://github.com/shepherdjerred/macos-cross-compiler

  • So You Want to Ship a Command-Line Tool for macOS
    5 projects | news.ycombinator.com | 21 Feb 2024
  • Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
    7 projects | news.ycombinator.com | 17 Feb 2024

What are some alternatives?

When comparing just-flake and macos-cross-compiler you can also consider the following projects:

flake-parts - ❄️ Simplify Nix Flakes with the module system

enroot - A simple yet powerful tool to turn traditional container/OS images into unprivileged sandboxes.

discord-plays-pokemon - Twitch Plays Pokémon, but for Discord

dockerc - container image to single executable compiler

just - 🤖 Just a command runner

golang-crossbuild

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Did you know that Nix is
the 29th most popular programming language
based on number of references?