fancy-regex
embedded-graphics
fancy-regex | embedded-graphics | |
---|---|---|
5 | 5 | |
387 | 857 | |
2.6% | 3.0% | |
7.9 | 5.7 | |
3 months ago | 28 days ago | |
Rust | Rust | |
MIT License | 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.
fancy-regex
-
lemmeknow v0.7.0 is here with support for identifying bytes with help of regex crate!
https://github.com/fancy-regex/fancy-regex/issues/84 it's still open issue
-
Debian Running on Rust Coreutils
Ahh, very interesting, thanks for sharing! Do you have any thoughts around why that is? I presume that's due to Oniguruma supporting a much broader feature set and something like fancy-regexp's approach with mixing a backtracking VM and NFA implementation for simple queries would be needed for better perf? (I am aware you played a role in that) [1]
I have been playing around with regex parsing through building parsers through parser combinators at runtime recently, no clue how it will perform in practice yet (structuring parser generators at runtime is challenging in general in low-level languages) but maybe that could pan out and lead to an interesting way to support broader sets of regex syntaxes like POSIX in a relatively straightforward and performant way.
[1] https://github.com/fancy-regex/fancy-regex#theory
- Fancy-Regex: A hybrid NFA and backtracking Regex library in Rust
-
An additional non-backtracking RegExp engine
Not an expert but fancy regex is a Rust library that uses a hybrid approach to detect whether a sub expression contains backtracking and delegates to the appropriate engine.
https://github.com/fancy-regex/fancy-regex
embedded-graphics
-
How to build GUI for custom LCD screen connected to an Arduino Board?
Even if one used embedded-graphics, which would't require a line buffer, 8k is probably not enough RAM for the stack of a non-trivial Rust program. At least my even fairly simple RTIC programs that run fine in the 160k of a Feather M4 do not run at all in the 32k of a Feather M0.
-
New crate for embedded-graphics: U8g2-fonts (feedback desired)
I rewrote the font subsystem of U8g2 in pure Rust, introducing a large number of fonts to embedded-graphics.
-
What Graphics Library to use?
Another project I've used is embedded-graphics which is useful if your target has more limited resources: https://github.com/embedded-graphics/embedded-graphics
-
Debian Running on Rust Coreutils
We use it a bit for https://github.com/embedded-graphics/embedded-graphics and I have to say I love it. It's just the right balance between configuration variables/constants and "a folder full of bash scripts". I highly recommend giving Just a try.
What are some alternatives?
min-sized-rust - 🦀 How to minimize Rust binary size 📦
pomsky - A new, portable, regular expression language
piet - An abstraction for 2D graphics.
just - 🤖 Just a command runner
samurai - ninja-compatible build tool written in C
fab-rs - The fabulous, aspirationally Make-compatible, fabricator of files.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
BSDCoreUtils - BSD coreutils is a port of many utilities from BSD to Linux and macOS.
build2 - build2 build system
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
Rust-for-Linux - Adding support for the Rust language to the Linux kernel.