softbuffer
allsorts
Our great sponsors
softbuffer | allsorts | |
---|---|---|
6 | 10 | |
262 | 693 | |
9.2% | 2.6% | |
8.2 | 8.4 | |
9 days ago | 4 months ago | |
Rust | Rust | |
Apache License 2.0 | 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.
softbuffer
-
How do rust gui frameworks avoid rerendering?
On a more recent machine, that same (well, more primitive) app with pixels or softbuffer struggled beyond acceptable. But was definitely poorly written.
-
Minimal 2D library for games? I'm struggling a bit to settle on one to learn.
I'm using winit and softbuffer for my CurrentProject™.
-
Which OpenGL crate should I use?
Another annoyance is that it's not possible to have flicker-free resizing with wgpu without completely killing the performance. OTOH, softbuffer resizing never flickers.
-
What 2D graphics library would you most recommend?
Why not minifb or softbuffer (which lets you use winit)?
-
Rust's Option and Result. In Python.
machine learning, neural networks, image processing, cryptography (though it is getting better), font shaping/rendering (though it is getting better), CPU/software rendering (though it is getting better)
-
Hey Rustaceans! Got a question? Ask here! (24/2022)!
I have decided that wgpu is not worth it, and gone to softbuffer, which does not stretch, and works a whole lot better. Downside: no GPU and no scaling support.
allsorts
- Cosmic Text: Pure Rust multi-line text handling
-
Is it conveninent to make cross-platform GUI softwares using Rust now?
But again you don't need to reinvent text layout from scratch (that's my discussion, BTW) if you use the platform's native text drawing facilities, like DirectWrite on Windows, or CoreText on macOS.
-
Getting a pointer to a field of an enum
All these layers of Cows create an extremely complex lifetime tree and it's actually not possible to factor out the complex parsing steps into functions because they depend on a lot of stuff. (trying to return an OutlineBuilder from a function would dangling reference about 3 different temporaries, for example. Obtaining the temporaries is part of the parsing step)
-
Rust's Option and Result. In Python.
machine learning, neural networks, image processing, cryptography (though it is getting better), font shaping/rendering (though it is getting better), CPU/software rendering (though it is getting better)
-
What's the project you're currently working on at your company as a Rust developer?
It can be used for the things you suggest but our driving use case is font parsing. The goal is to use it to generate the font parsing code in Allsorts, which is ultimately used in Prince.
-
Question: Expected webrender impact, or influence, on emacs redisplay
Use allsorts or rustbuzz for text shaping
- Text Rendering w/ HarfBuzz, FreeType and OpenGL
-
Text Rendering
Loader -> Allsorts
-
Speedy2D: Easy-to-use library for graphics, text, and input events
It's something I'd like to improve on in future -- are there any pure-Rust libraries you'd recommend for shaping? Allsorts looks quite promising.
- Ask HN: How do you use Rust at work?
What are some alternatives?
winit - Window handling library in pure Rust
rustybuzz - A complete harfbuzz's shaping algorithm port to Rust
rustshed - Rust types in Python. https://justforfunnoreally.dev/
rust-harfbuzz - Rust bindings to HarfBuzz
weird-move-behaviour-reproduction
pathfinder - A fast, practical GPU rasterizer for fonts and vector graphics
minifb - MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in
glium - Safe OpenGL wrapper for the Rust language.
site - Code for the website / Código para o site
lingua-rs - The most accurate natural language detection library for Rust, suitable for short text and mixed-language text
wgpu - Cross-platform, safe, pure-rust graphics api.
fontdue - The fastest font renderer in the world, written in pure rust.