owning-ref-rs

A library for creating references that carry their owner with them. (by Kimundi)

Owning-ref-rs Alternatives

Similar projects and alternatives to owning-ref-rs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better owning-ref-rs alternative or higher similarity.

owning-ref-rs reviews and mentions

Posts with mentions or reviews of owning-ref-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-01.
  • New C++ features in GCC 12
    5 projects | news.ycombinator.com | 1 May 2022
    Increasingly feeling that Rust is like Elm: a language with novel ideas, teaching valuable lessons (a vocabulary for teaching and checking thread safety, documenting exclusive vs. shared mutability in the type system, arguably a vocabulary for teaching and checking memory safety, though that comes at a steep cost), yet so stubborn the community treats its values (avoiding shared mutability) as moral judgments of code, and the language and deliberately obstructs writing code outside of approved patterns (single ownership tree, exclusive mutability). struct{Cell...}& doesn't need to be harder to use than C++ struct{T...}*, but Rust keeps it difficult because the community views it as bad code design and wants to keep it hard. And *mut T lacks RAII unlike C++'s unique_ptr, and requires unsafe blocks in every dereference. As a result, people turn to unsound patterns like https://github.com/kimundi/owning-ref-rs, https://github.com/mcoblenz/Bronze/, and https://github.com/emu-rs/snes-apu/blob/master/src/smp.rs#L5....

    It's a good language to learn. I hesitate to consider it a replacement for asm/C/C++. Writing rust is hoping that the code you're porting to rust can adapt well to the restrictions, and if not, searching for esoteric and needlessly unsafe/verbose workarounds.

  • Unsoundness in owning_ref
    10 projects | /r/rust | 26 Jan 2022
    Note that there are other soundness issues that require more fundamental changes to be fixed.
  • Self referential return type -> (Owned, Ref<'a>)
    1 project | /r/rust | 1 Oct 2021
    That's a shame. I dug into owning_ref, and it looks like it has an open soundness bug as well.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 28 Apr 2024
    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. Learn more →

Stats

Basic owning-ref-rs repo stats
5
358
0.0
7 months ago

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