copyless VS rfcs

Compare copyless vs rfcs and see what are their differences.

copyless

[deprecated] Avoid memcpy calls when working with standard containers (by kvark)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
copyless rfcs
2 679
275 5,967
- 0.5%
0.0 9.7
about 2 years ago 15 days ago
Rust Markdown
Apache License 2.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.

copyless

Posts with mentions or reviews of copyless. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-17.

rfcs

Posts with mentions or reviews of rfcs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-30.
  • Rust Solves the Issues with Exceptions
    2 projects | news.ycombinator.com | 30 Nov 2024
    Rust doesn't support that, but there's an RFC trying to figure out how that could be done (hasn't gone anywhere after more than 10 years of discussions): https://github.com/rust-lang/rfcs/issues/294

    But Rust supports macros, just like Lisp, so of course someone wrote a library that provides something similar:

    https://docs.rs/some-error/latest/some_error/

    Their post about how they came up with this crate is quite interesting:

    https://jam1.re/blog/anonymous-sum-types-for-rust-errors

  • Handling Cookies Is a Minefield
    5 projects | news.ycombinator.com | 21 Nov 2024
  • Zig's (.{}){} Syntax
    1 project | news.ycombinator.com | 9 Nov 2024
    > The same pattern in Rust would just use variadic templates/generics.

    Are you sure Rust has variadic generics? https://github.com/rust-lang/rfcs/issues/376

  • Macros, Safety, and SOA
    1 project | news.ycombinator.com | 7 Nov 2024
    > I regret having to sacrifice API design to satisfy something of a corner case usage.

    A possible future alternative would be to bound the macro in some way on Freeze, once that is stabilised. See the RFC for details: https://github.com/rust-lang/rfcs/pull/3633

    This would of course be a tradeoff again, as it would disallow interior mutability then.

  • Perhaps Rust Needs "Defer"
    2 projects | news.ycombinator.com | 6 Nov 2024
    There is talk of making it illegal to have a reference be unaligned, or even point to very low addresses: <https://github.com/rust-lang/rfcs/pull/3204>. At one point, there was even talk of certain kinds of references not even being stored as memory addresses at all: <https://github.com/rust-lang/rfcs/pull/2040>. And Box<_> is not #[repr(transparent)] either. Only *const _ and *mut _ have a guaranteed ABI.

    Just because you write fewer, but still more than zero, “unsafe” keywords does not mean your code is more safe.

  • Why Safety Profiles Failed (C++)
    4 projects | news.ycombinator.com | 24 Oct 2024
    Unfortunately I'm not super-familiar with developments around Polonius, so chances are what I can point you towards are the same things you found when searching. The most relevant bits appear to be the Polonius book [0] linked from the repo [1], but I don't know how up to date the book is or if there are more up-to-date resources. The RFC book [2] doesn't seem to have anything obviously about Polonius either.

    [0]: https://rust-lang.github.io/polonius/

    [1]: https://github.com/rust-lang/polonius

    [2]: https://rust-lang.github.io/rfcs/

  • Don't defer Close() on writable files
    7 projects | news.ycombinator.com | 8 Sep 2024
    That nobody has gone through the effort of collating its requirements and writing an RFC after https://github.com/rust-lang/rfcs/pull/770 was closed (back in 2015).

    I assume a big issue is that this is full of edge cases up the ass, and the value is somewhat limited in the sense that if you know you want durable writes you'll sync() and know you're fucked if you get an error, but close() does not guarantee a sync to disk, as the linux man page indicates:

    > A successful close does not guarantee that the data has been successfully saved to disk, as the kernel uses the buffer cache to defer writes.

  • An Optimization That's Impossible in Rust
    2 projects | news.ycombinator.com | 4 Sep 2024
    I never heard of "German strings" in place of the small string optimization before! And there had been way too many proposals to add such types to the standard library [1] [2] [3] [4]. My understanding is that:

    1. Both `Vec` and `String` should share the same layout as part of the standard library's contract.

    2. Unlike `String`, the equivalent optimization for `Vec` is more questionable especially when T might be any type. C++ standard libraries frequently do implement multiple layouts for std::string but not for std::vector for the same reason.

    3. Rust never allows an implicit copying of `String` in the first place, which greatly benefits from the SSO, so the lack of SSO in Rust is less important compared to C++.

    [1] https://github.com/rust-lang/rust/issues/4991

    [2] https://github.com/rust-lang/rust/issues/20198

    [3] https://github.com/rust-lang/rfcs/pull/2990

    [4] https://github.com/rust-lang/unsafe-code-guidelines/issues/4...

  • Async2 – The .NET Runtime Async experiment concludes
    3 projects | news.ycombinator.com | 22 Aug 2024
  • Jiff: A brand new Datetime library for Rust, from the builder of ripgrep
    16 projects | news.ycombinator.com | 21 Jul 2024
    nrc was poking at the problem in 2016 https://internals.rust-lang.org/t/struct-field-defaults/3412 which led to this RFC https://github.com/rust-lang/rfcs/pull/1806

    It got postponed because it wasn't going to make it into Rust 2018: https://github.com/rust-lang/rfcs/pull/1806#issuecomment-327...

What are some alternatives?

When comparing copyless and rfcs you can also consider the following projects:

flexstr - A flexible, simple to use, immutable, clone-efficient String replacement for Rust

rust - Empowering everyone to build reliable and efficient software.

bubblewrap - Low-level unprivileged sandboxing tool used by Flatpak and similar projects

compiler-explorer - Run compilers interactively from your web browser and interact with the assembly

Rust-for-Linux - Adding support for the Rust language to the Linux kernel.

crates.io - The Rust package registry

polonius - Defines the Rust borrow checker.

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

rust-gc - Simple tracing (mark and sweep) garbage collector for Rust

unsafe-code-guidelines - Forum for discussion about what unsafe code can and can't do

miri - An interpreter for Rust's mid-level intermediate representation

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?