Hacker GitHub

← All repos

thepowersgang/mrustc

View on GitHub ↗ ★ 2,553 C++

Alternative rust compiler (re-implementation)

90 mentions on Hacker News by 72 people: 8 stories, 82 comments · first 2016-08-10 · latest 2026-10-14

Mentions per year 90 mentions · busiest year 2019 (15)
20082026
  1. https://github.com/thepowersgang/mrustc/ Might want to check this out:-)
  2. Is it very bad that https://github.com/thepowersgang/mrustc calls itself a Rust compiler?
    comment by tedunangst · 2019-12-24 · in Rust's Freedom Flaws
  3. mrustc[1] can help with this issue. [1] https://github.com/thepowersgang/mrustc
  4. …done writing rustc. For a from-scratch reimplementation of (most of) a Rust frontend, see mrustc ( https://github.com/thepowersgang/mrustc ), which is written in C++, and served to demonstrate that (a prior version of) rustc did not…
    comment by kibwen · 2019-12-08 · in GCC-Rust: Rust frontend for GCC
  5. …to C code. Every platform has a C compiler (though maybe not C11, which is what mrustc targets). https://github.com/thepowersgang/mrustc
    comment by johnsoft · 2019-11-11 · in Notes on Type Layouts and ABIs in Rust
  6. https://github.com/thepowersgang/mrustc is a Rust compiler without borrow checker.
    comment by sanxiyn · 2019-10-12 · in Uber Go Style Guide
  7. mrustc is being worked on here: https://github.com/thepowersgang/mrustc/tree/nightly-1.29
    comment by muizelaar · 2019-09-16 · in Show HN: Darklang
  8. …this year :/. Last I checked, it was capable of compiling releases of rustc well past 1.0. [0]: https://github.com/thepowersgang/mrustc
    comment by ejmg · 2019-09-16 · in Show HN: Darklang
  9. …1 implementation of Rust. Rust is whatever HEAD in the Rust repository implements. That's not true: https://github.com/thepowersgang/mrustc
    comment by ChickeNES · 2019-06-22 · in C, Fortran, and single-character strings
  10. …project, but it's not something you can use to replace to compile your own arbitrary rust code. [1] https://github.com/thepowersgang/mrustc
    comment by littlestymaar · 2019-06-19 · in Debian Riscv64 port in mid 2019
  11. This is probably what you mean: https://github.com/thepowersgang/mrustc It's still a work in progress, with only x86 even supported. It's not a GCC frontend, it generates C, and is based on an old version of rust (1.19). Right now I think…
    comment by pedrocr · 2019-06-19 · in Debian Riscv64 port in mid 2019
  12. Can't you use this "alternative rust compiler. Capable of building a fully-working copy of rustc" https://github.com/thepowersgang/mrustc and a trusted C++ compiler instead?
    comment by pjtr · 2019-05-24 · in Announcing Rust 1.35.0
  13. …from Rust but setting a flag to turn borrow checker errors into warnings or something similar. https://github.com/thepowersgang/mrustc kind of does that. It assumes the input code is valid at the moment. But if you want to experiment…
  14. https://github.com/thepowersgang/mrustc is an alternative compiler for Rust.
    comment by heinrich5991 · 2019-02-07 · in About V, the language Volt is written in
  15. There’s also one that exists, so that proves it can be done: https://github.com/thepowersgang/mrustc
    comment by steveklabnik · 2019-01-11 · in Impediments to transpiling Rust to C?
  16. …explosion of surface-level constructs, or just handwave based in the intuition of control flow. - https://github.com/thepowersgang/mrustc/tree/master/src/mir this is the alternative Rust implementation's MIR. It's pretty close to the same…
    comment by Ericson2314 · 2018-12-27 · in Rust 2019 and beyond: limits to some growth
  17. …a ton of reasons to keep working on it. mrustc is effectively written entirely by one person: https://github.com/thepowersgang/mrustc/graphs/contributors It's extremely impressive, but I can also understand why trying to keep up doesn't…
    comment by steveklabnik · 2018-12-15 · in Bootstrapping Rust
  18. mrustc [1] compiles rust to optimized C also. 1. https://github.com/thepowersgang/mrustc
    comment by karavelov · 2018-11-09 · in Writing Network Drivers in Rust [pdf]
  19. …it would increase pressure to actually port it there or to use another compiler like mrustc[0] [0] https://github.com/thepowersgang/mrustc
    comment by dmytrish · 2018-09-20 · in Adding Mercurial support to Gitlab
  20. …event c99 supported. I was thinking about rust to C compiler [1], but thats require c11 support. 1. https://github.com/thepowersgang/mrustc
    comment by tov_objorkin · 2018-03-01 · in Should you Rust in embedded yet?
  21. https://github.com/thepowersgang/mrustc
    comment by steveklabnik · 2018-02-28 · in Is C the Best Embedded Programming Language?
  22. ... and the hope is that https://github.com/thepowersgang/mrustc will let us do this for Rust.
    comment by steveklabnik · 2017-12-04 · in Integrating “safe” languages into OpenBSD?
  23. There was a new implementation of rust in c++ https://github.com/thepowersgang/mrustc
    comment by earenndil · 2017-10-07 · in C2 Programming Language: An Evolution of C
  24. There's been some experimentation with using https://github.com/thepowersgang/mrustc to target the ESP8266: https://github.com/emosenkis/arduino-esp-rs The same would work for the ESP32.
  25. …the only thing stopping me from putting rust into production. I have high hopes for something like https://github.com/thepowersgang/mrustc
    comment by jjnoakes · 2017-06-15 · in System programming in Rust: beyond safety
  26. What are these implementations? The one I immediately found by searching ( https://github.com/thepowersgang/mrustc ) is accompanied by an explicit nongoal to correctly implement the language. It also doesn't seem particularly independent…
    comment by cwzwarich · 2017-05-15 · in Two years of Rust
  27. …more platforms, though you should still develop with the official rustc for the borrow checking. 1: https://github.com/thepowersgang/mrustc
    comment by zeotroph · 2017-02-07 · in Rust's 2017 Roadmap
  28. https://github.com/thepowersgang/mrustc is getting closer. Currently it can compile rustc through to failing codegen.
    comment by muizelaar · 2017-01-05 · in Librsvg now requires Rust
  29. Someone has tried to do something along those lines: https://github.com/thepowersgang/mrustc/blob/master/README.m... > Thankfully, (from what I have seen), the borrow checker is not needed to compile rust code (just to ensure that it's…
    comment by comex · 2016-12-02 · in Reflections on Rusting Trust
  30. …path and type resolution is the tough part and so far we only have one implementation of that. https://github.com/thepowersgang/mrustc exists, anyway. I don't think it can compile rustc yet.
    comment by Manishearth · 2016-12-02 · in Reflections on Rusting Trust
  31. As for alternate implementations, https://github.com/thepowersgang/mrustc . As for specification, https://github.com/rust-lang/rfcs/pull/1643 is what's currently happening, i.e. specifying exactly how unsafe code behaves (this is more…
    comment by Manishearth · 2016-10-05 · in The cost of forsaking C
  32. There are two nascent alternative Rust compiler projects that I know of. One is https://github.com/thepowersgang/mrustc , which does not aim to be a GCC or LLVM front-end, and seems aimed at bootstrapping rust on platforms with only C/C++…
    comment by dikaiosune · 2016-08-10 · in Rust compiler walk-through – Introduction