SaaSHub helps you find the best software and product alternatives Learn more β
Top 23 Rust Compiler Projects
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
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
-
# 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
-
RustPython
-
Gleam GitHub Repository
-
Project mention: Mako β fast, production-grade web bundler based on Rust | news.ycombinator.com | 2024-07-02
-
-
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
-
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...
-
leo
π¦ The Leo Programming Language. A Programming Language for Formally Verified, Zero-Knowledge Applications
-
melody
Melody is a language that compiles to regular expressions and aims to be more readable and maintainable
-
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
-
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
-
-
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
-
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
-
Project mention: Ante: A low-level functional language with algebraic effects and safe shared mut | news.ycombinator.com | 2024-09-30
-
-
You say beginner friendly. How does rwf look like compared to Pavex[1] in this regard?
[1] https://github.com/LukeMathWalker/pavex
-
-
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.
-
rustc_codegen_clr
This rust compiler backend(module) emmits valid CIL (.NET IR), enabling you to use Rust in .NET projects.
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).
Rust Compiler discussion
Rust Compiler related posts
-
Customasm β An assembler for custom, user-defined instruction sets
-
KEON is a human-readable serde format that syntactic similar to Rust
-
Rust's New Sort Algorithms
-
Flattening ASTs (and Other Compiler Data Structures)
-
Weird Rust Expressions
-
When Zig Is Safer and Faster Than Rust
-
[Rust Self-Study] 1.1. Install Rust
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 Jan 2025
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 |