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. Learn more →
Top 23 Rust Compiler Projects
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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
-
ezno
A JavaScript compiler and TypeScript checker written in Rust with a focus on static analysis and runtime performance
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
rustc source code
I began by creating a monorepo using turbo with applications and packages. It took me 5 minutes with everything installed and working like a charm! Then I was setting up the backend application, utilizing swc to transpile TypeScript into CommonJS format.
Project mention: German state ditches Microsoft for Linux and LibreOffice | news.ycombinator.com | 2024-04-04https://github.com/typst/typst looks promising, both the language and the tooling. I wonder where it will find its place in a world that is dominated by either Word or LaTex.
Integrating Rust into Python, Edward Wright, 2021-04-12 Examples for making rustpython run actual python code Calling Rust from Python using PyO3 Writing Python inside your Rust code — Part 1, 2020-04-17 RustPython, RustPython Rust for Python developers: Using Rust to optimize your Python code PyO3 (Rust bindings for Python) Musing About Pythonic Design Patterns In Rust, Teddy Rendahl, 2023-07-14
Would you consider using some libraries in your project? There are lots of good ones in the Rust ecosystem, and many of them are not part of any existing browsers.
For example:
- https://github.com/servo/html5ever (HTML parsing - note: this is used in Servo)
- https://github.com/parcel-bundler/lightningcss (CSS parsing)
- https://github.com/DioxusLabs/taffy (web layout)
- https://github.com/pop-os/cosmic-text (text layout and rendering)
Obviously you should be free to work on whatever you like, but just as a benchmark on the scope of your project: I spent ~6 months implementing just the CSS Grid algorithm in Taffy last year. An entire browser from literal scratch is probably a 10 year project for one person.
Going back to building the WASM package, I used a tool called Trunk to build and bundle the Rust code. When I run the command trunk build I'm presented with the following images. The first is what the build looks like from the console and the second is the contents of the dist directory that is created and populated.
Project mention: Gluon is a static, type inferred and embeddabble language written in Rust | news.ycombinator.com | 2023-07-01
> Other than safety and the like.
I think these are some good points:
https://github.blog/2023-08-30-why-rust-is-the-most-admired-...
On the one hand, "safety" avoids the "use after free" or other bugs which plague programs written in C. For systems programming, that is significant.
On the other hand, the "safety" allows for much easier concurrency.
The higher-level stuff like "pattern matching" is really nice. It's nice enough that it motivated efforts like https://github.com/borgo-lang/borgo
Somewhat implicit is that Rust has enough of a community that there are many good packages/libraries and tools around it.
Project mention: Pylyzer – A fast static code analyzer and language server for Python | news.ycombinator.com | 2024-04-11Looking 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: Farm: Fast Vite-compatible web build tool written in Rust | news.ycombinator.com | 2024-04-19
Project mention: Ezno's checker (Rust based type checker and compiler) is now open source | /r/typescript | 2023-06-08
Pavex is a new and upcoming Rust framework designed to expand the horizon for Rust web development. It aims to do so by offering a more abstract, ergonomic, and performant development experience.
Project mention: What languages have the best error message rendering styles in the terminal? | /r/ProgrammingLanguages | 2023-07-12To complement, Nushell's error rendering is done with miette (whose name is a reference to this cute meme AFAIK). There is also another notable Rust error rendering lib: ariadne. So you can get the same beautiful error rendering in your own projects :D
Windows is supported. See https://github.com/rust-lang/rustc_codegen_cranelift/issues/....
KCL: A declarative configuration and policy programming language implemented by Rust, which improves the writing of a large number of complex configurations through mature programming language technology and practice, and is committed to building better modularity, scalability and stability around configuration, simpler logic writing, fast automation and good ecological extensionally.
Rust Compiler related posts
-
How does Rust go “from” here “into” there
-
Generic constant expressions: a future bright side of nightly Rust
-
Using Pavex for Rust web development
-
Ask HN: LLVM versus WASM?
-
Aya Rust tutorial Part One
-
Machine learning in Elixir is production-ready
-
Moving your bugs forward in time
-
A note from our sponsor - InfluxDB
www.influxdata.com | 20 May 2024
Index
What are some of the best open-source Compiler projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | rust | 93,633 |
2 | sway | 63,111 |
3 | swc | 30,118 |
4 | typst | 28,677 |
5 | RustPython | 17,724 |
6 | gleam | 15,547 |
7 | oxc | 9,073 |
8 | rspack | 7,462 |
9 | lightningcss | 5,991 |
10 | leo | 4,769 |
11 | melody | 4,594 |
12 | lumen | 3,594 |
13 | trunk | 3,205 |
14 | gluon | 3,121 |
15 | borgo | 3,080 |
16 | erg | 2,593 |
17 | farm | 2,449 |
18 | ezno | 2,210 |
19 | ante | 1,843 |
20 | pavex | 1,582 |
21 | ariadne | 1,575 |
22 | rustc_codegen_cranelift | 1,466 |
23 | kcl | 1,346 |
Sponsored