nightly-crimes VS rlbox

Compare nightly-crimes vs rlbox and see what are their differences.

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
nightly-crimes rlbox
6 2
169 278
- 1.4%
2.6 2.8
almost 3 years ago about 2 months ago
Rust C++
BSD 2-clause "Simplified" License MIT License
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.

nightly-crimes

Posts with mentions or reviews of nightly-crimes. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-01.
  • How can we compare expressive power between two Turing-complete languages?
    1 project | news.ycombinator.com | 6 Jul 2023
    > This seems to favor c++, in which basically anything imaginable can be done with macros, and any other language can be implemented.

    Pfft. C++ macros can't even run a different compiler:

    https://github.com/m-ou-se/nightly-crimes/blob/main/yolo-rus...

  • Vec<T> internally uses RawVec<T>, which internally uses Unique<T>. Unique is a nightly feature, so why isn't Vec only available for nightly builds?
    1 project | /r/rust | 15 Jun 2023
    There is no nightly or stable compiler; they're just different modes that the compiler can run in. You can compile code that uses nightly features with just the stable toolchain; see nightly-crimes.
  • Thoughts about using nightly features from de-facto std crates (e.g. serde)?
    3 projects | /r/rust | 1 Jan 2022
    That being said, you can use nightly features on the stable compiler. The stable compiler is totally capable of compiling them, it just refuses to without some macro black magic.
  • WebAssembly and Back Again: Fine-Grained Sandboxing in Firefox 95
    7 projects | news.ycombinator.com | 6 Dec 2021
    More specifically, unsafe blocks may violate the compiler's security guarantees and procedural macros actually run inside the compiler process at build time. Declarative macros do this too, but they're far too restricted to allow shenanigans. Procmacros can disable Rust's stability guarantees[0].

    [0] https://github.com/m-ou-se/nightly-crimes

  • The Little Book of Rust Macros
    2 projects | news.ycombinator.com | 21 Nov 2021
    > [ https://github.com/m-ou-se/nightly-crimes nightly-crimes! blows away your compiler, running it again in a new environment where it will allow nightly features even though you've got a stable compiler installed... ]

    That macros have access to the entire language including arbitrary IO is the defining feature of proc macros. The insanity here is the Rust compiler team adding the `RUSTC_BOOTSTRAP` env var which is used to build rustc stable which uses nightly features.

    All nightly-crimes does is use `std::process::Command` to rerun the compiler with the variable set [1], which tells rustc to throw all concepts of stability out the window.

    I haven't been following developments but one of the ideas (even has a PoC iirc) was to build and run proc macros as web assembly to improve build times and prevent such shenanigans.

    [1] https://github.com/m-ou-se/nightly-crimes/blob/main/yolo-rus...

rlbox

Posts with mentions or reviews of rlbox. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-10.
  • Sandboxing DLL Code
    2 projects | /r/rust | 10 Sep 2022
    Firefox uses that to isolate third party libraries right now, like i.e. font rendering. It uses a framework called RLBox: https://github.com/PLSysSec/rlbox.
  • WebAssembly and Back Again: Fine-Grained Sandboxing in Firefox 95
    7 projects | news.ycombinator.com | 6 Dec 2021
    https://github.com/PLSysSec/rlbox_sandboxing_api/blob/master...

    Seems like it could get a bit verbose when used all over the place but I’m not really used to the C++ world. Regardless I’m happy to see the effort being made beyond process isolation and OS capabilities.

What are some alternatives?

When comparing nightly-crimes and rlbox you can also consider the following projects:

fennecbuild

serde - Serialization framework for Rust

freebsd-ports - FreeBSD ports tree (read-only mirror)

wasi-sdk - WASI-enabled WebAssembly C/C++ toolchain

wasi-libc - WASI libc implementation for WebAssembly

swc

svntogit-packages - Automatic import of svn 'packages' repo (read-only mirror)