Rust Compiler

Open-source Rust projects categorized as Compiler

Top 23 Rust Compiler Projects

  1. rust

    Empowering everyone to build reliable and efficient software.

    Project mention: I've been advocating for RSS support, and you should too | news.ycombinator.com | 2025-01-18

    I recently had the need to subscribe to changes to a Github repo and it turns out it provides a feed for them. For rust master branch, for example, subscribe to https://github.com/rust-lang/rust/commits/master.atom.

  2. SaaSHub

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

    SaaSHub logo
  3. sway

    🌴 Empowering everyone to build reliable and efficient smart contracts. (by FuelLabs)

  4. typst

    A new markup-based typesetting system that is powerful and easy to learn.

    Project mention: Laid Off in My Career, and Twice in One Year | news.ycombinator.com | 2025-01-07

    I may be a tad late, but typst does have a compiler you can use locally with your favorite local text editor.

    https://github.com/typst/typst/releases

  5. swc

    Rust-based platform for the Web

    Project mention: Fresh Start: Unlocking New Beginnings with GitHub Copilot | dev.to | 2025-01-10

    # React + Vite This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. Currently, two official plugins are available: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh # Fresh-Starts

  6. RustPython

    A Python Interpreter written in Rust

    Project mention: ε…³δΊŽδ½Žθ°· - FAV0ε‘¨εˆŠ #10 | dev.to | 2024-08-11

    RustPython

  7. gleam

    ⭐️ A friendly language for building type-safe, scalable systems!

    Project mention: Introduction to Gleam Programming Language | dev.to | 2024-12-21

    Gleam GitHub Repository

  8. oxc

    βš“ A collection of JavaScript tools written in Rust.

    Project mention: Mako – fast, production-grade web bundler based on Rust | news.ycombinator.com | 2024-07-02
  9. rspack

    The fast Rust-based web bundler with webpack-compatible API πŸ¦€οΈ

    Project mention: Templates Needed More in the AI Era - FAV0 Weekly #025 | dev.to | 2024-12-22
  10. lightningcss

    An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.

    Project mention: CSSnano | news.ycombinator.com | 2024-09-15

    We tried LightningCSS and it gave buggy output for us because it doesn't keep track of property ordering. I wouldn't use it until that's fixed.

    https://github.com/parcel-bundler/lightningcss/issues/547

    https://github.com/parcel-bundler/lightningcss/issues/572

  11. farm

    Extremely fast Vite-compatible web build tool written in Rust

    Project mention: Farm: Fast vite compatible build tool written in Rust | news.ycombinator.com | 2024-06-21

    > They are aiming to provide an "all-in-one" solution with the parser, transpiler, bundler etc all in one place. Which means they have perhaps too much work to do.

    They seem to re-use quite a lot. I don’t think any of them, besides ESBuild, roll their own transpiler. For example, Farm uses SWC:

    https://github.com/farm-fe/farm/blob/main/crates/toolkit/Car...

  12. leo

    🦁 The Leo Programming Language. A Programming Language for Formally Verified, Zero-Knowledge Applications

  13. melody

    Melody is a language that compiles to regular expressions and aims to be more readable and maintainable

  14. borgo

    Borgo is a statically typed language that compiles to Go.

    Project mention: When Zig Is Safer and Faster Than Rust | news.ycombinator.com | 2024-12-30

    I wouldn’t use this in production, but this was in HN earlier this year and I love the idea: https://github.com/borgo-lang/borgo

  15. trunk

    Build, bundle & ship your Rust WASM application to the web.

    Project mention: Trunk: Build, bundle and ship your Rust WASM application to the web | news.ycombinator.com | 2024-07-23

    is there any doc for header support?

    https://github.com/trunk-rs/trunk/pull/322

  16. gluon

    A static, type inferred and embeddable language written in Rust. (by gluon-lang)

  17. erg

    A statically typed language compatible with Python

    Project mention: Pylyzer – A fast static code analyzer and language server for Python | news.ycombinator.com | 2024-04-11

    Looking through the code, Pylyzer seems to be a thin wrapper around Erg [1]. To typecheck, it converts your Python AST to an Erg AST, then runs its through the Erg typechecker and returns the errors.

    Faster typechecking for Python is very much needed. But this project seems like it was built in a hackathon β€”- it is not a true standalone typchecker.

    [1] https://github.com/erg-lang/erg

  18. ezno

    A fast and correct TypeScript type checker and compiler with additional experiments

    Project mention: An approach to optimizing TypeScript type checking performance | news.ycombinator.com | 2024-08-14

    There is a new type checker called Ezno that is written in Rust and is a lot faster [1].

    I have been tracking PRs like [2] that change the definitions to better be optimised by V8. But the effects are only ~30% and not the 50x that might be achievable by native.

    [1]: https://github.com/kaleidawave/ezno/actions/runs/10299707325

  19. ante

    A safe, easy systems language

    Project mention: Ante: A low-level functional language with algebraic effects and safe shared mut | news.ycombinator.com | 2024-09-30
  20. ariadne

    A fancy diagnostics & error reporting crate (by zesterer)

  21. pavex

    An easy-to-use Rust framework for building robust and performant APIs

    Project mention: Ask HN: What Open Source Projects Need Help? | news.ycombinator.com | 2024-11-16

    You say beginner friendly. How does rwf look like compared to Pavex[1] in this regard?

    [1] https://github.com/LukeMathWalker/pavex

  22. kcl

    KCL Programming Language (CNCF Sandbox Project). https://kcl-lang.io

  23. rustc_codegen_cranelift

    Cranelift based backend for rustc

    Project mention: I Hope Rust Does Not Oxidize Everything | news.ycombinator.com | 2024-07-16

    There's no reason? Are you sure about this?

    I think you mean there could theoretically be an interpreted Rust, but I don't think anyone has ever made a prototype of a Rust interpreter.

    The closest is probably rust-analyzer (the official language server), that maintains internal state and reacts to changes you make, but it doesn't create an executable artifact.

    The other is probably the Cranelift Backend (https://github.com/rust-lang/rustc_codegen_cranelift), which can produce debug builds quickly.

  24. rustc_codegen_clr

    This rust compiler backend(module) emmits valid CIL (.NET IR), enabling you to use Rust in .NET projects.

    Project mention: Rust-Query | news.ycombinator.com | 2024-11-30

    I'm impressed by this individual's effort to bring rust to the clr: https://github.com/FractalFir/rustc_codegen_clr

    It is already way more complete given it's age than I would have expected.

    I agree that the clr is a more natural target than, let's say, the JVM (at least until Project Valhalla comes out).

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Compiler discussion

Log in or Post with

Rust Compiler related posts

Index

What are some of the best open-source Compiler projects in Rust? This list will help you:

# Project Stars
1 rust 100,462
2 sway 62,481
3 typst 36,684
4 swc 31,520
5 RustPython 19,504
6 gleam 18,583
7 oxc 13,137
8 rspack 10,602
9 lightningcss 6,693
10 farm 5,142
11 leo 4,801
12 melody 4,651
13 borgo 4,280
14 trunk 3,653
15 gluon 3,256
16 erg 2,724
17 ezno 2,603
18 ante 1,925
19 ariadne 1,835
20 pavex 1,813
21 kcl 1,820
22 rustc_codegen_cranelift 1,664
23 rustc_codegen_clr 1,649

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?