lady-deirdre
moxie
lady-deirdre | moxie | |
---|---|---|
1 | 4 | |
70 | 827 | |
- | - | |
5.2 | 0.0 | |
about 1 month ago | about 1 year ago | |
Rust | Rust | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lady-deirdre
-
Why Split Lexing and Parsing into Two Separate Phases?
Well, my personal experience was in the opposite direction actually.
I used to use combinators-based approach without Lex/Syn separation (aka PEGs) for a long time. But then I came up to understanding that the separation approach is actually better in performance. And also that working and debugging of the Token sequences while writing parser manually is just more handy (at least for me).
But this is my personal experience of course. I do believe too that it all depends on the goal, and parsers micro-optimizations is not that much critical in many cases, and that combinators approach actually works quite well too.
As of Nom, I can say that it works quite well. But I think that the it's performance gains stem from the fact that Rust is a systems-based PL, and it optimizes function combinations just better than, let say, JavaScript or Python.
In my incremental parsers library Lady Deirdre I utilize Lex/Syn separation, and the LL(1) recursive-descend parsing, and it shows much better performance than in Tree-Sitter at least on relatively big files [1].
[1] https://github.com/Eliah-Lakhin/lady-deirdre/tree/master/wor...
moxie
-
Does Rust have a React-like GUI framework? If not, why not?
I think https://moxie.rs/ as well
-
Releasing Dioxus v0.1 - a new Rust GUI toolkit for Web, Desktop, Mobile, SSR, TUI that emphasizes developer experience
That's the idea of azul and moxie-native: they use web technologies but are way lighter than embedding a browser.
-
So you want to write a GUI framework
There are various ways you might do an implicit context objects. An example is the illicit crate, from moxie.
-
Announcing Silkenweb: A reactive VDOM-less web framework using plain rust syntax
Rather than using a macro based DSL, it uses plain rust syntax with a builder pattern inspired by Moxie. It's inspired by Solidjs and Maple on the signals/reactivity side.
What are some alternatives?
comemo - Incremental computation through constrained memoization.
webrender - A GPU-based renderer for the web
silkenweb - A library for writing reactive single page web apps
todos-app - A Todos app using Svelte, Tailwind CSS, and Tauri (w/ Rust)
Azul - Desktop GUI Framework
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
stretch - High performance flexbox implementation written in rust
docsite - Dioxuslabs.com documentation site
sycamore - A library for creating reactive web apps in Rust and WebAssembly
relm - Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
druid - A data-first Rust-native UI design toolkit.