Proposal/RFC: Rewrite the astro compiler in rust #1108
Replies: 3 comments 8 replies
-
I will starting the development in stage 2 in here: https://github.com/Eveeifyeve/compiler/tree/rewrite-in-rust. |
Beta Was this translation helpful? Give feedback.
-
I'm not particularly happy about the motivations, because if there's something where the compiler shines, it's speed. It's something we never had problems with. Other than that, I already started working on an error resilient parser in Rust |
Beta Was this translation helpful? Give feedback.
-
I’m convinced this is the kind of innovation that’ll push the project into hyperspace. |
Beta Was this translation helpful? Give feedback.
-
The Proposal
What if I thought I could make the astro compiler faster but also contributing massively, so today I am opening this as a proposal for what if astro compiler was rewritten in rust that is faster and less in terms of size.
The Motivation, Why it should be considered? and if unaccepted?
My motivation is for me to contribute to and one thing I really know is rust, but the main motivation could be making a big significant change to astro. but I feel like the astro compiler could do a performance upgrade and make the size less, so thats why it should be considered.
and it doesn't matter If this RFC isn't approved, then have a maintained fork of astro compiler then if you do reconsider it it's not a waste of time, plus for the community to use if they wanted to.
Major changes:
It involves a change in the usage of esbuild and switch to lightning css so css would change.
It also involves the change of the compiler team to learn rust.
Thanks, Eveeifyeve (CEO/Founder at TeaClient)
Beta Was this translation helpful? Give feedback.
All reactions