Take your first steps with Rust

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • 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)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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)

  • 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.

  • 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.

  • windows-rs

    Rust for Windows

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

  • 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)

  • 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.

    InfluxDB logo
  • 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