How to render text with rust?

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. learn-wgpu

    Guide for using gfx-rs's wgpu library.

    For the first part, there's too much surface area to cover but it sounds like one good starting point would be to learn a bit more about how low(ish) level graphics programming works in the context of rust. I think learning-wgpu will get you to the "I have a window and I can draw things to it, and I actually understand how my data turns into pixels" stage, which is super cool and performant if you've never dived lower than ui frameworks before.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. neovide

    No Nonsense Neovim Client in Rust

    Maybe you can look at Neovide's code?

  4. ab-glyph

    Rust API for loading, scaling, positioning and rasterizing OpenType font glyphs

    ab_glyph is at the same level to DirectWrite/uniscribe where you hand it a character, and it hands you back a rasterized glyph - it's on you on how to draw it.

  5. windows-rs

    Rust for Windows

    windows-rs and x11-rs provide access on windows and x11 Linux desktops respectively to create a window and handle input.

  6. x11-rs

    Rust bindings for X11 libraries

    windows-rs and x11-rs provide access on windows and x11 Linux desktops respectively to create a window and handle input.

  7. glium

    Safe OpenGL wrapper for the Rust language.

    Glium and ash provide low level access to different common graphics api's. I'm sure there's a good directx-11/12 bindings as well but I'm unfamiliar with what people use.

  8. ash

    Vulkan bindings for Rust

    Glium and ash provide low level access to different common graphics api's. I'm sure there's a good directx-11/12 bindings as well but I'm unfamiliar with what people use.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. fltk-rs

    Rust bindings for the FLTK GUI library.

    try https://github.com/fltk-rs/fltk-rs, support everything you need. highly composable, fits with GL based randering and WGPU as well.

  11. flamegraph

    Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 (by flamegraph-rs)

    Besides just feeling out latency, flamegraph is a great tool for simple profiling, if you weren't already familiar. They have a great overview in the readme of how to use it: https://github.com/flamegraph-rs/flamegraph

  12. egui

    egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

    For documentation/guidance on what implementing a text editor might look like. Egui recently release syntax highlighting support. You could either start using egui and see how it performs for you, or just use its source code as a reference. It and other UI libraries get very abstracted very quickly though. https://github.com/emilk/egui

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

  • Pax: Build cross-platform GUIs with a vector design tool and Rust

    1 project | news.ycombinator.com | 18 Sep 2024
  • Pax: Build cross-platform GUIs with a vector design tool and Rust

    1 project | news.ycombinator.com | 11 Sep 2024
  • Show HN: Pax – cross-platform GUIs with an integrated design tool

    1 project | news.ycombinator.com | 11 Sep 2024
  • Cosmic: A New Desktop Environment

    2 projects | news.ycombinator.com | 8 Aug 2024
  • I am not yet ready to switch to Zig from Rust

    1 project | news.ycombinator.com | 15 Jun 2024

Did you know that Rust is
the 5th most popular programming language
based on number of references?