cranelift VS MCHPRS

Compare cranelift vs MCHPRS and see what are their differences.

cranelift

Cranelift code generator (by bytecodealliance)

MCHPRS

A multithreaded Minecraft server built for redstone. (by MCHPR)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cranelift MCHPRS
5 25
2,493 1,807
- 2.0%
0.1 8.5
almost 5 years ago 21 days ago
Rust
- 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.

cranelift

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

MCHPRS

Posts with mentions or reviews of MCHPRS. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-25.
  • A Minecraft server written in COBOL
    5 projects | news.ycombinator.com | 25 Dec 2024
    A minecraft server isn't exactly a small side project. There are some in works for 3-5 years and they are not yet complete, some have very specific features (like https://github.com/MCHPR/MCHPRS which is meant for redstone showcases). This COBOL server doesn't yet implement lighting and that's one of the hardest parts since mob generation also depends on it. It also didn't fully implement some blocks. You need years to finish a minecraft server so getting something done fast isn't the best path along the way.
  • We built the best "Bad Apple!!" in Minecraft
    1 project | news.ycombinator.com | 13 Oct 2024
    > - Runs at 1 million ticks per second thanks to MCHPRS server - which is 5.8 kHz clock speed

    I had to go look into this, because that's shockingly fast. The latest Intel CPUs have a 6.2 GHz clock rate when TVBing, so each Minecraft tick runs in ~1,000 CPU cycles. Each thread handles 65k surface blocks (256x256 plot), so that means each cycle is processing upwards of 10 surface cycles in the most lenient circumstances I can think of.

    I went to go look into how on Earth they're doing that with all this Redstone around; there are some docs at [1] if anyone else is curious. It looks like they have some kind of Redstone "compiler" that converts the Redstone blocks into a graph, and execution happens on that graph.

    That's crazy impressive. It does make using Minecraft feel a little silly, to me and perhaps only me. They have an input step where they basically parse the map, convert it to a graph that seems to resemble the AST of an LLVM IR, and then execute it. It makes Minecraft feel like a very awkward scripting language to me; why stack 16k Redstone cubes manually just so they can parse it into an IR instead of just scripting generating the IR or something like that?

    1. https://github.com/MCHPR/MCHPRS/blob/master/docs/Redpiler.md

  • I don't know how CPUs work so I simulated one in code
    2 projects | news.ycombinator.com | 6 Aug 2024
    The state of the art these days is https://github.com/MCHPR/MCHPRS

    It's an implementation of the minecraft server that compiles redstone into a graph representation, and then does optimisations like constant folding, tree shaking, etc. Very cool project.

  • Minecraft High-Performance Redstone Server
    1 project | news.ycombinator.com | 26 Jan 2024
  • Can i make a minecraft mod with rust and what are the benefits?
    3 projects | /r/rust | 19 Mar 2023
    You can compile redstone using Rust though, see https://github.com/MCHPR/MCHPRS and https://youtu.be/-BP7DhHTU-I
  • Am I wrong?
    4 projects | /r/ProgrammerHumor | 18 Feb 2023
    Someone made a Redstone JIT compiler.
  • Redstone Computer V2.1 Running Multiplication Algorithm
    1 project | /r/programming | 25 Jan 2023
    I don't know if you know about MCHPRS. It's a multi-threaded self-hosted MC Server made specifically for redstone. It gives you more control over redstone.
  • Minecraft - Rust Edition
    6 projects | /r/rust | 8 Jan 2023
    https://github.com/MCHPR/MCHPRS (redstone only)
  • Will Rust become (more) High Level with time?
    3 projects | /r/rust | 20 Sep 2022
    It sure is! https://github.com/MCHPR/MCHPRS
  • 1Hz CPU made in Minecraft running Minecraft at 0.1fps with server imlemented in Rust
    1 project | /r/rust | 19 Sep 2022
    The relevant bit is https://github.com/MCHPR/MCHPRS and Rust snippet starting from 0:25

What are some alternatives?

When comparing cranelift and MCHPRS you can also consider the following projects:

rpds - Rust persistent data structures

ferium - Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases

BrainJiT - Simple Brainf**k Just-in-Time compiler written in Kotlin (and also interpreter)

hematite - A simple Minecraft written in Rust with the Piston game engine

moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11

MinecraftHDL - A Verilog synthesis flow for Minecraft redstone circuits

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured