Take your first steps with Rust

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. rust-ttapi

    If you are interested in rust and want a very simple project to try it on:

    I made a bot library for https://turntable.fm/ in javascript -> https://github.com/alaingilbert/Turntable-API

    Then I rebuilt it in go -> https://github.com/alaingilbert/ttapi

    Then I tried to write it in rust, but the pattern isn't really good with the borrow checker, I cannot make this work -> https://github.com/alaingilbert/rust-ttapi/blob/47282b7a334d...

    So if someone can find a good pattern to use for this type of library, I would gladly want to learn.

    Pull requests are welcome, I'm also always on discord if you want to chat.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. gccrs

    GCC Front-End for Rust

    Some links on the most promising effort so far, gccrs

    https://opensrcsec.com/open_source_security_announces_rust_g...

    https://www.embecosm.com/2021/01/12/gcc-rust-how-it-can-be-a...

    https://rust-gcc.github.io/

    This is an entirely new frontend written in C++, that shares no code with rustc (the official rust compiler). It might be merged some day in GCC proper.

    But honestly, I'm more excited for rustc_codegen_gcc:

    https://github.com/antoyo/rustc_codegen_gcc

    It adds gcc as an alternative backend of the official Rust compiler. That way it is much more feasible to stay up to date as the language evolves.

    Anyway the former two don't actually work right now. The one that does work today is mrustc, or at least it works for bootstrapping rustc; it doesn't have a borrow checker though (and instead assumes the program is correct).

    https://github.com/thepowersgang/mrustc

    (There's a fourth project, https://github.com/sapir/gcc-rust, but it seems abandoned)

  4. gcc-rust

    a (WIP) Rust frontend for gcc / a gcc backend for rustc

    Some links on the most promising effort so far, gccrs

    https://opensrcsec.com/open_source_security_announces_rust_g...

    https://www.embecosm.com/2021/01/12/gcc-rust-how-it-can-be-a...

    https://rust-gcc.github.io/

    This is an entirely new frontend written in C++, that shares no code with rustc (the official rust compiler). It might be merged some day in GCC proper.

    But honestly, I'm more excited for rustc_codegen_gcc:

    https://github.com/antoyo/rustc_codegen_gcc

    It adds gcc as an alternative backend of the official Rust compiler. That way it is much more feasible to stay up to date as the language evolves.

    Anyway the former two don't actually work right now. The one that does work today is mrustc, or at least it works for bootstrapping rustc; it doesn't have a borrow checker though (and instead assumes the program is correct).

    https://github.com/thepowersgang/mrustc

    (There's a fourth project, https://github.com/sapir/gcc-rust, but it seems abandoned)

  5. Turntable-API

    Allows you to create bots for turntable.fm

    If you are interested in rust and want a very simple project to try it on:

    I made a bot library for https://turntable.fm/ in javascript -> https://github.com/alaingilbert/Turntable-API

    Then I rebuilt it in go -> https://github.com/alaingilbert/ttapi

    Then I tried to write it in rust, but the pattern isn't really good with the borrow checker, I cannot make this work -> https://github.com/alaingilbert/rust-ttapi/blob/47282b7a334d...

    So if someone can find a good pattern to use for this type of library, I would gladly want to learn.

    Pull requests are welcome, I'm also always on discord if you want to chat.

  6. ttapi

    Golang Turntable.fm api

    If you are interested in rust and want a very simple project to try it on:

    I made a bot library for https://turntable.fm/ in javascript -> https://github.com/alaingilbert/Turntable-API

    Then I rebuilt it in go -> https://github.com/alaingilbert/ttapi

    Then I tried to write it in rust, but the pattern isn't really good with the borrow checker, I cannot make this work -> https://github.com/alaingilbert/rust-ttapi/blob/47282b7a334d...

    So if someone can find a good pattern to use for this type of library, I would gladly want to learn.

    Pull requests are welcome, I'm also always on discord if you want to chat.

  7. windows-rs

    Rust for Windows

    They released a while back Rust crate for Windows API: https://github.com/microsoft/windows-rs

  8. rustc_codegen_gcc

    libgccjit AOT codegen for rustc (by antoyo)

    Some links on the most promising effort so far, gccrs

    https://opensrcsec.com/open_source_security_announces_rust_g...

    https://www.embecosm.com/2021/01/12/gcc-rust-how-it-can-be-a...

    https://rust-gcc.github.io/

    This is an entirely new frontend written in C++, that shares no code with rustc (the official rust compiler). It might be merged some day in GCC proper.

    But honestly, I'm more excited for rustc_codegen_gcc:

    https://github.com/antoyo/rustc_codegen_gcc

    It adds gcc as an alternative backend of the official Rust compiler. That way it is much more feasible to stay up to date as the language evolves.

    Anyway the former two don't actually work right now. The one that does work today is mrustc, or at least it works for bootstrapping rustc; it doesn't have a borrow checker though (and instead assumes the program is correct).

    https://github.com/thepowersgang/mrustc

    (There's a fourth project, https://github.com/sapir/gcc-rust, but it seems abandoned)

  9. mrustc

    Alternative rust compiler (re-implementation)

    Some links on the most promising effort so far, gccrs

    https://opensrcsec.com/open_source_security_announces_rust_g...

    https://www.embecosm.com/2021/01/12/gcc-rust-how-it-can-be-a...

    https://rust-gcc.github.io/

    This is an entirely new frontend written in C++, that shares no code with rustc (the official rust compiler). It might be merged some day in GCC proper.

    But honestly, I'm more excited for rustc_codegen_gcc:

    https://github.com/antoyo/rustc_codegen_gcc

    It adds gcc as an alternative backend of the official Rust compiler. That way it is much more feasible to stay up to date as the language evolves.

    Anyway the former two don't actually work right now. The one that does work today is mrustc, or at least it works for bootstrapping rustc; it doesn't have a borrow checker though (and instead assumes the program is correct).

    https://github.com/thepowersgang/mrustc

    (There's a fourth project, https://github.com/sapir/gcc-rust, but it seems abandoned)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Why do lifetimes need to be leaky?

    6 projects | /r/rust | 8 Dec 2023
  • GCC Rust Approved by GCC Steering Committee

    9 projects | news.ycombinator.com | 11 Jul 2022
  • Adding a Rust compiler front end to GCC

    7 projects | news.ycombinator.com | 17 Jun 2022
  • Why am I writing a Rust compiler in C?

    4 projects | news.ycombinator.com | 25 Aug 2024
  • How hard would it be to port the Rust toolchain to a new non-POSIX OS written in Rust and get it to host its own development? What would that process entail?

    3 projects | /r/rust | 5 Jul 2023