How to render text with rust?

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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.

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

    No Nonsense Neovim Client in Rust

  • Maybe you can look at Neovide's code?

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

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

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

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

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

  • SaaSHub

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

    SaaSHub logo
  • 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.

  • 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

  • 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

  • I am not yet ready to switch to Zig from Rust

    1 project | news.ycombinator.com | 15 Jun 2024
  • Show HN: Castiron – Simple podcast player in Rust

    2 projects | news.ycombinator.com | 12 Jun 2024
  • Cosmic Desktop Is Slated to Debut with Pop _OS 24.04 LTS

    1 project | news.ycombinator.com | 18 Feb 2024
  • Iced 0.12 Released

    1 project | news.ycombinator.com | 15 Feb 2024
  • I'm trying to build a progress bar for an Iced GUI app and having a lot of trouble with it.

    2 projects | /r/rust | 22 Sep 2023