Rewriting the Svelte compiler in Rust

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rustle

    Svelte compiler rewritten in Rust

  • If anybody wants to check the project out here it is: https://github.com/pintariching/rustle For now I just copied the general structure and I'm mainly working on the utilities.

  • chumsky

    Write expressive, high-performance parsers with ease.

  • Did you decide what parsing library you want to use? I found a good parsing library https://github.com/zesterer/chumsky

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

    writing webpage with rusty style

  • Maybe a bit off topic, but I have an idea,I also thought about rewriting the svelte compiler in rust, but I quickly gave up because I wanted to be able to use my favorite cargo to manage frontend projects, not npm/rollup/yarn and other tools, And I don't want to write a boring transcompile. If we can directly express html/css and manipulate dom in rust, we can write the front end without using other languages ​​​​other than rust. Based on the above thinking, I tried to write rtml. Sorry that the documentation has not been translated into English yet, but there are some examples in the project and an online demo-counter

  • rtml-page-demo

  • the online demo is done by following code lib.rs

  • Svelte

    Cybernetically enhanced web apps

  • Perhaps if you want to look into rewriting the utilities into rust. A big list of utilities is here: https://github.com/sveltejs/svelte/tree/master/src/compiler/utils

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