lang-team VS miri

Compare lang-team vs miri and see what are their differences.

miri

An interpreter for Rust's mid-level intermediate representation (by rust-lang)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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
lang-team miri
25 121
190 3,955
0.5% 2.3%
7.8 10.0
about 1 month ago 7 days ago
JavaScript Rust
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.

lang-team

Posts with mentions or reviews of lang-team. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-08.
  • Totally_safe_transmute, Line-by-Line
    2 projects | news.ycombinator.com | 8 Jan 2024
    The Rust team did a deep dive on the bug in 2020, which has some more details that might be helpful to understanding what's going on: https://github.com/rust-lang/lang-team/blob/master/design-me....
  • Using enums to represent state in Rust
    6 projects | news.ycombinator.com | 22 Sep 2023
    I haven't been following this closely, so I looked it up and it looks like that's not going to happen for the foreseeable future unfortunately:

    https://github.com/rust-lang/lang-team/issues/122

    Kind of a shame, but wrapper types work well enough that I understand. It does look like if there was someone with enough resources to make it happen that they'd be receptive to it.

  • Should Error enums be `non_exhaustive`?
    4 projects | /r/rust | 23 May 2023
  • What features would you like to see in rust?
    13 projects | /r/rust | 2 Apr 2023
    Did you read the link the original comment posted? I think that explains the idea rather well https://github.com/rust-lang/lang-team/issues/122
  • Pattern matching tuple variant of enum without deconstructing tuple
    2 projects | /r/rust | 29 Mar 2023
    A quick search pulled up this as a likely candidate for most recent discussion of it but it goes back at least to 2016 with this RFC.
  • State Machines III: Type States
    2 projects | /r/rust | 3 Jan 2023
    There have been at least one proposal and RFC in the past that seem to be deferred or closed due to bandwidth issues.
  • The type system is a programmer's best friend
    9 projects | /r/programming | 1 Nov 2022
    That's what Rust does, and it's considered a problem (that the devs are regrettably unable to reasonably solve) rather than a good thing.
  • In-line crates
    1 project | /r/rust | 25 Oct 2022
    Lang had some conversations about this: https://github.com/rust-lang/lang-team/issues/139
  • LKML: Linus Torvalds: Re: [PATCH v9 12/27] rust: add `kernel` crate
    4 projects | /r/rust | 2 Oct 2022
    The design of Rust panics unconditionally aborts the program if you panic while unwinding, and some people even want to abort if you panic in Drop.
  • Isolates, MicroVMs, and WebAssembly (In 2022)
    10 projects | news.ycombinator.com | 26 Sep 2022
    > Better interoperability

    AFAIK, the examples you give all target a basic C ABI [0] or can be made to target the same ABI. In Rust, it means targeting wasm32-unknown-emscripten

    The Rust team is also working on a "WASM ABI"[1] which would be useful in taking advantage of stuff like multi-value returns, and other compilers could just choose to target that. More likely, the C ABI on WASM will be updated to account for missing features, and that'll be the standard for interoperability in the WASM ecosystem.

    [0]: https://github.com/WebAssembly/tool-conventions/blob/main/Ba...

    [1]: https://github.com/rust-lang/lang-team/blob/master/design-me...

miri

Posts with mentions or reviews of miri. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-30.
  • Bytecode VMs in Surprising Places
    8 projects | news.ycombinator.com | 30 Apr 2024
    Miri [0] is an interpreter for the mid-level intermediate representation (MIR) generated by the Rust compiler. MIR is input for more processing steps of the compiler. However miri also runs MIR directly. This means miri is a VM. Of course it's not a bytecode VM, because MIR is not a bytecode AFAIK. I still think that miri is a interesting example.

    And why does miri exist?

    It is a lot slower. However it can check for some undefined behavior.

    [0]: https://github.com/rust-lang/miri

  • RFC: Rust Has Provenance
    3 projects | news.ycombinator.com | 31 Jan 2024
    Provenance is a dynamic property of pointer values. The actual underlying rules that a program must follow, even when using raw pointers and `unsafe`, are written in terms of provenance. Miri (https://github.com/rust-lang/miri) represents provenance as an actual value stored alongside each pointer's address, so it can check for violations of these rules.

    Lifetimes are a static approximation of provenance. They are erased after being validated by the borrow checker, and do not exist in Miri or have any impact on what transformations the optimizer may perform. In other words, the provenance rules allow a superset of what the borrow checker allows.

  • Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
    4 projects | news.ycombinator.com | 26 Dec 2023
  • Running rustc in a browser
    1 project | /r/rust | 12 Jul 2023
    There has been discussion of doing this with MIRI, which would be easier than all of rustc.
  • Piecemeal dropping of struct members causes UB? (Miri)
    1 project | /r/rust | 4 Jul 2023
    This issue has been fixed: https://github.com/rust-lang/miri/issues/2964
  • Erroneous UB Error with Miri?
    2 projects | /r/rust | 4 Jul 2023
  • I've incidentally created one of the fastest bounded MPSC queue
    8 projects | /r/rust | 26 Jun 2023
    Actually, I've done more advanced tests with MIRI (see https://github.com/rust-lang/miri/issues/2920 for example) which allowed me to fix some issues. I've also made the code compatible with loom, but I didn't found the time yet to write and execute loom tests. That's on the TODO-list, and I need to track it with an issue too.
  • Interested in "secure programming languages", both theory and practice but mostly practice, where do I start?
    2 projects | /r/ProgrammingLanguages | 17 Jun 2023
    He is one of the big brains behind Miri, which is a interpreter that runs on the MIR (compiler representation between human code and asm/machine code) and detects undefined behavior. Super useful tool for language safety, pretty interesting on its own.
  • Formal verification for unsafe code?
    2 projects | /r/rust | 16 Jun 2023
    I would also run your tests in Miri (https://github.com/rust-lang/miri) to try to cover more bases.
  • Ouroboros is also unsound
    3 projects | /r/rust | 11 Jun 2023
    You can run miri and it will tell you if the given run triggered any undefined behavior. It will not analyze it for every possible use of the code, but checking for the presence of this specific issue using it should be fairly simple.

What are some alternatives?

When comparing lang-team and miri you can also consider the following projects:

Idris2 - A purely functional programming language with first class types

cons-list - Singly-linked list implementation in Rust

rfcs - RFCs for changes to Rust

sanitizers - AddressSanitizer, ThreadSanitizer, MemorySanitizer

diamond-types - The world's fastest CRDT. WIP.

rust - Empowering everyone to build reliable and efficient software.

isahc - The practical HTTP client that is fun to use.

Rust-Full-Stack - Rust projects here are easy to use. There are blog posts for them also.

semver-trick - How to avoid complicated coordinated upgrades

rustc-dev-guide - A guide to how rustc works and how to contribute to it.

nomicon - The Dark Arts of Advanced and Unsafe Rust Programming