nixos-and-flakes-book VS rules_rust

Compare nixos-and-flakes-book vs rules_rust and see what are their differences.

nixos-and-flakes-book

:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了! (by ryan4yin)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nixos-and-flakes-book rules_rust
9 9
1,537 613
- 2.3%
9.6 9.6
9 days ago 4 days ago
Nix Starlark
Creative Commons Attribution Share Alike 4.0 Apache License 2.0
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.

nixos-and-flakes-book

Posts with mentions or reviews of nixos-and-flakes-book. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-14.
  • NixOS: Declarative Builds and Deployments
    13 projects | news.ycombinator.com | 14 Jan 2024
    I'll be honest, the first few times I tried using Nix I just couldn't get into. It was too complex for the benefits I was getting. But that was using Nix on another OS.

    I recently switched to NixOS because I wanted what they were selling and the experience this time around was way better. Having no other option but to figure it out made me learn the essentials real quick (like an exchange program to a foreign country that speaks another language).

    If you think about it, when you used Ubuntu or Fedora or RHEL for the first time, and probably for a very long time, you could get by without learning the deep intricacies of what is going on behind the scenes. The same is true with NixOS. The things you need to learn are different, but once you get a basic setup with home-manager setup you're off to the races. (Btw, I used this "book" to get started and it was great: https://nixos-and-flakes.thiscute.world/)

    The best part about using NixOS so far is that things just work. Setting up my graphics card was as simple setting enabled = true. Same for configuring specific audio frameworks. And I had tried many times to get Davinci Resolve working on other distros and always encountered issues leading me to need to dual-boot Windows so I could do video editing. Now I just enabled Davinci Resolve and it works! No more Windows.

    If you're brand new to linux on the desktop, I wouldn't recommend it. But if you've been doing that for years, maybe try NixOS in 2024.

  • What is the current recommended documentation when starting out with NixOs?
    3 projects | /r/NixOS | 8 Dec 2023
    i'm new to nixos too, i found this
  • Flakes Question (because I'm a noob)
    1 project | /r/NixOS | 7 Dec 2023
    I found this guide really beginner friendly: https://nixos-and-flakes.thiscute.world/
  • NixOS and Flakes Book: An unofficial book for beginners (free)
    6 projects | news.ycombinator.com | 9 Oct 2023
    their GH releases page has a PDF, if that helps you, or browsing around the .md files may help what I presume is your noscript browser, assuming that GH works with noscript anymore: https://github.com/ryan4yin/nixos-and-flakes-book/releases/d...
  • NixOS and Flakes Book
    1 project | news.ycombinator.com | 2 Oct 2023
  • NixOS Wiki – the unofficial user wiki
    2 projects | news.ycombinator.com | 16 Sep 2023
    It would be useful if the wiki articles showed a 'last modified at' date. Articles like this [0] dominate search results, but it's not clear how outdated the info is. I

    In case anyone is looking for an up-to-date NixOS guide/cookbook, I've found lots of value in this [1] resource.

    [0] - https://nixos.wiki/wiki/PulseAudio

    [1] - https://nixos-and-flakes.thiscute.world/

  • GitHub - ryan4yin/nixos-and-flakes-book: An unofficial NixOS & Flakes book for Beginners.
    1 project | /r/NixOS | 23 Jun 2023
  • Updates: NixOS & Nix Flakes - A Guide for Beginners
    2 projects | /r/NixOS | 22 Jun 2023

rules_rust

Posts with mentions or reviews of rules_rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-14.
  • NixOS: Declarative Builds and Deployments
    13 projects | news.ycombinator.com | 14 Jan 2024
    The same reason Bazel builds avoid using Cargo when building Rust software, so I'll describe why Bazel would do this:

    - Bazel wants to cache remote resources, like each respective crate's source files.

    - Bazel then wants to build each crate in a sandbox, and cache the build artifacts

    This is an established practice, and Nix wants to drive the build for the same reasons.

    See:

    - https://github.com/bazelbuild/rules_rust

    - https://github.com/google/cargo-raze

  • Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
    5 projects | /r/rust | 27 Jun 2023
    To answer your question, I don't know if Soong or Bazel can reuse the files produced by an incremental Rust compilation. I tried searching the rules_rust repository and found some discussions, but nothing that clearly told me "Yes, this is supported".
  • When to Use Bazel?
    13 projects | news.ycombinator.com | 13 Sep 2022
    Bazel doesn't allow targeting a lot of platforms (especially embedded) from Rust, even when the Rust ecosystem supports these targets. Something is off with its design if new work needs to be done for every platform that's already available behind an interface that's as consistent as what rustc gives.

    What is supported needs to be inferred from this file, as far as I can tell: https://github.com/bazelbuild/rules_rust/blob/main/rust/plat...

  • Cpp-like build tools for Rust?
    4 projects | /r/rustjerk | 9 Sep 2022
    You might be overjoyed to learn that you can use a build tool that forces you to manually write out the dependencies between each file.
  • How to enable suggestions/autocomplete in VS Code?
    1 project | /r/bazel | 1 Jun 2022
    I am using rules_rust and have the VS Code Bazel plugin installed, but I am still not getting autocomplete.
  • Blog Post: Fast Rust Builds
    5 projects | /r/rust | 5 Sep 2021
    Other than that, the performance of both for builds should be determined exactly by the organization of code into separate crates and the rustc invocations. Bazel generally encourages smaller crates, but that's very subtle. There is at least 1 case I can think of where rustc is overfit to cargo, in a way that is not easily replicable by bazel, which is the metadata/rlib pipelining https://github.com/bazelbuild/rules_rust/issues/228
  • Modern C++ Won't Save Us (2019)
    7 projects | news.ycombinator.com | 25 Apr 2021
    Rust integrates pretty seamlessly into Bazel projects via rules_rust (https://github.com/bazelbuild/rules_rust). The existing rules even allow for c calling rust and rust calling c. Example: https://github.com/bazelbuild/rules_rust/blob/main/examples/...
  • Why Zig When There Is Already C++ and Rust?
    10 projects | news.ycombinator.com | 15 Jan 2021
    With any compiled language you can use the compiler and vendor your dependencies instead of using the language's conventional package manager. For example, nothing prevents skipping Cargo and building Rust directly with rustc the way Bazel does.

    https://github.com/bazelbuild/rules_rust

What are some alternatives?

When comparing nixos-and-flakes-book and rules_rust you can also consider the following projects:

nix-config - ❄️ my nix config for both desktops(NixOS+macOS) and homelab servers(NixOS).

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

wiki - Nixos wiki [maintainer=@samueldr]

cargo-chef - A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.

rfcs - The Nix community RFCs

cargo-sweep - A cargo subcommand for cleaning up unused build files generated by Cargo

vitepress - Vite & Vue powered static site generator.

www.ziglang.org

distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox

wg-allocators - Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!

nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!

bazel-coverage-report-renderer - Haskell rules for Bazel.