Hacker GitHub

← All repos

bjorn3/rustc_codegen_cranelift

View on GitHub ↗ ★ 19 Rust

You are probably looking for the upstream version of rustc_codegen_cranelift

25 mentions on Hacker News by 22 people: 1 story, 24 comments · first 2019-04-11 · latest 2023-08-17

Mentions per year 25 mentions · busiest year 2020 (7)
20082026
  1. …is perfectly capable of bootstrapping another Rust compiler (with some config changes) [2]. [0] https://github.com/bjorn3/rustc_codegen_cranelift [1] https://github.com/rust-lang/rust/pull/77975 [2] https://github.com/bjorn3/rustc_codegen_c…
    comment by LegionMammal978 · 2023-08-17 · in A Guide to Undefined Behavior in C and C++ (2010)
  2. …could replace LLVM, there’s an alternative backend being worked on but has limitations: https://github.com/bjorn3/rustc_codegen_cranelift
  3. …as a rustup component" has been making good progress and seems like it might happen relatively soon https://github.com/bjorn3/rustc_codegen_cranelift/milestone/...
  4. …debug builds. And the Cranelift codegen backend itself is also clear about it not being ready yet: https://github.com/bjorn3/rustc_codegen_cranelift (To be clear, I am super excited about using Cranelift for debug builds. I just want to…
  5. maybe https://github.com/bjorn3/rustc_codegen_cranelift https://old.reddit.com/r/rust/comments/107afei/cranelift_mol...
  6. …they're a core ecosystem crate but don't get that much support because windowing isn't flashy. [1] https://github.com/bjorn3/rustc_codegen_cranelift
  7. …features like inline assembly that aren't supported, but a moderately complete backend exists now: https://github.com/bjorn3/rustc_codegen_cranelift The compiler frontend is already written in Rust.
  8. …then I don't know. [1]: https://github.com/bytecodealliance/wasmtime/blob/main/crane... [2]: https://github.com/bjorn3/rustc_codegen_cranelift
  9. ▲ 5
    Replacing LLVM for Rust: Cranelift based back end for rustc
    story by that · 2022-09-22 · 1 comment
  10. As well as a cranelift backend https://github.com/bjorn3/rustc_codegen_cranelift
  11. A faster codegen backend for debug builds is in the works. https://github.com/bjorn3/rustc_codegen_cranelift
    comment by the8472 · 2021-11-12 · in The Rust compiler has gotten faster again
  12. There's a Cranelift backend, which is apparently faster at creating debug builds than LLVM: https://github.com/bjorn3/rustc_codegen_cranelift
  13. There is work on integrating Cranelift into rustc ( https://github.com/bjorn3/rustc_codegen_cranelift ) so that rustc can compile to bytecode for the Cranelift JIT.
  14. …on OS syscalls implemented in not-Rust is cheating, then you could just use Redox directly ;) [1] https://github.com/bjorn3/rustc_codegen_cranelift [2] https://github.com/redox-os/relibc
  15. …[2] https://github.com/sapir/gcc-rust/tree/rust [3] https://github.com/Rust-GCC/gccrs [4] https://github.com/bjorn3/rustc_codegen_cranelift
  16. …the linker more to chew on; using Cranelift in conjunction with LLD can give much better results ( https://github.com/bjorn3/rustc_codegen_cranelift/issues/878... ).
    comment by kibwen · 2020-11-11 · in Exploring PGO for the Rust Compiler
  17. https://hacks.mozilla.org/2020/10/a-new-backend-for-cranelif... https://github.com/bjorn3/rustc_codegen_cranelift
    comment by estebank · 2020-11-11 · in Exploring PGO for the Rust Compiler
  18. …work of optimising Rust's borrower-checker. Disclaimer: I don't know all that much about Rust. [0] https://github.com/bjorn3/rustc_codegen_cranelift
    comment by MaxBarraclough · 2020-08-05 · in How to speed up the Rust compiler some more in 2020
  19. …also ongoing work in rustc_codegen_cranelift, which [as of 2 weeks ago] can now compile rustc: https://github.com/bjorn3/rustc_codegen_cranelift/issues/743...
    comment by leeoniya · 2020-07-11 · in Linux kernel in-tree Rust support
  20. …sure about GCC, but a significant amount of work has gone into a cranelift based backend for rust ( https://github.com/bjorn3/rustc_codegen_cranelift ).
  21. …for the borrow check and mrustc for codegen. [1]: https://github.com/thepowersgang/mrustc [2]: https://github.com/bjorn3/rustc_codegen_cranelift [3]: https://github.com/rust-lang/miri
    comment by cbarrick · 2020-06-12 · in A New RegExp Engine in SpiderMonkey
  22. …backend here has been making slow but steady progress, and seems to be approaching a useable state: https://github.com/bjorn3/rustc_codegen_cranelift/issues
    comment by nicoburns · 2019-12-11 · in Speeding Up the Rust Compiler
  23. …it would fit in well for fast debug builds but not be a good fit for optimized release builds. See https://github.com/bjorn3/rustc_codegen_cranelift#not-yet-su... for progress
  24. …only improves compile times 33%. Other work is needed for a dramatic reduction in compile times: https://github.com/bjorn3/rustc_codegen_cranelift/issues/133...
  25. …probably be a big win if/when it lands [0] (adding the ability to replace LLVM with cranelift) [0]: https://github.com/bjorn3/rustc_codegen_cranelift/issues/381
    comment by nicoburns · 2019-04-11 · in Rust 1.34.0