glium VS femtovg

Compare glium vs femtovg and see what are their differences.

femtovg

Antialiased 2D vector drawing library written in Rust (by femtovg)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
glium femtovg
17 32
3,384 745
0.9% 2.4%
8.0 7.8
about 1 month ago 14 days ago
Rust Rust
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

glium

Posts with mentions or reviews of glium. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-23.
  • I don't understand how dependencies work
    1 project | /r/rust | 15 Nov 2023
    I am trying to follow to this tutorial on glium and I can't even get a window to show up because of what I assume to be a lack of comprehension on my end about how dependencies work.
  • Cargo build feature issue: Building winit problem, says no features specified
    2 projects | /r/rust | 23 Mar 2023
    Which is blocked, waiting for glium to update: https://github.com/glium/glium/pull/2036
  • OpenGL crates: gl vs glow vs glium
    3 projects | /r/rust | 22 Mar 2023
    https://crates.io/crates/glium (8 months ago - 925 kB)
  • Questions about Glium framework
    1 project | /r/rust | 29 Nov 2022
    The book is a great place to look at https://github.com/glium/glium/tree/master/book And glium itself is a bit outdated might be good to look at alternatives like glow
  • [Media] Visualizing scientific data in rust
    3 projects | /r/rust | 25 Sep 2022
    Hi rustaceans! I glued this prototype together with vtkio and glium. There are more features that are unsupported than supported at this point, but the code is here if you want to check it out: https://github.com/JeffIrwin/skillet
  • [GLIUM] - how to pass structs as uniforms to shaders
    1 project | /r/rust | 9 Jul 2022
    https://github.com/glium/glium/issues/941 is the relevant Glium bug/feature request. Long story short, structs as uniforms aren't supported by Glium's current design, it looks like.
  • should i learn glium?
    3 projects | /r/rust | 12 Jun 2022
    Should i learn glium (https://crates.io/crates/glium)? i have some experience in opengl (C++) and i would like to use the opengl functionality in the Rust ecosystem.
  • How to abstract OpenGL for future use?
    4 projects | /r/opengl | 8 Feb 2022
    I can recommend https://github.com/glium/glium as a good, safe abstraction. There was a time when I wanted to learn shaders and write complex pipelines with several stages, this library allowed me to learn about the important objects and their responsibilities without having to program the very verbose chunks of code to initialize. I learned the following:
  • Where to find resources to learn OpenGL with Rust ?
    6 projects | /r/rust | 19 Jan 2022
    Glium is a Rust-y OpenGL wrapper, and its repository contains a discussion that should give you an idea whether this is what you want to use, as well as some tutorial.
  • Workaround for counter that goes out of scope
    1 project | /r/learnrust | 19 Jan 2022
    With a gluim window open, I want to count the number of user clicks and retain the number after the window is closed. In order to keep the program running after the window is closed, I had to change event_loop.run to event_loop.run_return and I think that means all variables will be moved into the closure and my counter goes out of scope.

femtovg

Posts with mentions or reviews of femtovg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-06.
  • Recommended UI framework to draw many 2D lines?
    5 projects | /r/rust | 6 Mar 2023
    Femtovg (https://github.com/femtovg/femtovg) which uses OpenGL to render
  • tinydraw 0.1.1
    2 projects | /r/rust | 16 Feb 2023
    Congrats! I don't want to diminish the accomplishment, but have you seen femtovg? It seems like it's probably well-aligned with your needs.
  • Bevy vector graphics library?
    3 projects | /r/bevy | 27 Sep 2022
    I'm currently using femtovg for vector graphics in my games, and I would like to get into bevy by porting one of my game prototypes using it to bevy.
  • Decision paralysis: ggez or macroquad
    4 projects | /r/rust_gamedev | 9 Jul 2022
    I use femtovg It's a simple vector graphics engine having all the important features you probably want from a 2D rendering engine: simple shapes, images, text
  • femtovg VS lyon - a user suggested alternative
    2 projects | 21 May 2022
  • Keeping POWER relevant in the open source world
    9 projects | news.ycombinator.com | 22 Jan 2022
    https://github.com/femtovg/femtovg/pull/5

    Before Power10 was done, IBM actually asked us Raptor users about proposals for useful machine code instructions to add to it. I replied that I’d like to have hardware UTF-8 de-/encoding but they wanted a more detailed proposal and I never got around to write it. I’m not even sure that this would be worthwhile, but I see UTF-8 de-/encoding everywhere in the code I write and would like it to approach memory read/write speeds.

    I was very disappointed to learn that they had gone more proprietary with Power10 so I would not have been able to use those instructions anyway. What a pity!

  • How to use a Rust WebAssembly module in Svelte with Web Workers
    1 project | /r/sveltejs | 29 Nov 2021
    In my actual code, I'm using a library called femtovg that is a Rust port of a C library for 2D rendering. But In the blog post I kept the example simple to keep it relevant for people who might want to use Web Workers + WASM for other things; didn't want to get hung up on femtovg for someone who had never heard of it. As you say, if you all you need to do is basic 2D manipulations of a canvas that are supported by the native API, then you likely don't need WASM.
  • Iced: A cross-platform GUI library for Rust, inspired by Elm
    19 projects | news.ycombinator.com | 27 Aug 2021
    You guys should also check out the femtovg project, a 2D rendering API that sixty fps relies on.

    https://github.com/femtovg/femtovg

    It's a decent starting point for trying to build your own toolkit.

    I have recently added a wgpu backend but for now it lives in my fork https://github.com/adamnemecek/femtovg

    run the demo with `cargo run --example wgpu_demo --release`.

    Also join the femtovg discord https://discord.gg/V69VdVu

  • Any recommended resources for beginning graphics with Rust
    2 projects | /r/rust | 22 Jul 2021
    I'm involved with the femtovg project. We are definitely looking for contributors. Join the discord channel.
  • Good GUI toolkit/library recommendations needed
    7 projects | /r/rust | 18 Jul 2021
    It's not a GUI framework but I'm involved with this project called femtovg, it's a Rust nanovg port. I've recently added a wgpu backend. Run the demo with cargo run --example wgpu_demo --release. Some people have been using it for their own UIs, e.g. tuix. I think that you should consider rolling your own GUI toolkit, it's not that bad and you'll appreciate the control.

What are some alternatives?

When comparing glium and femtovg you can also consider the following projects:

glow - GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code

Typesense - Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

glutin - A low-level library for OpenGL context creation, written in pure Rust.

gdnative - Rust bindings for Godot 3

gfx - [maintenance mode] A low-overhead Vulkan-like GPU API for Rust.

Slint - Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint]

wgpu - Cross-platform, safe, pure-rust graphics api.

NanoGUI - Minimalistic GUI library for OpenGL

learn-wgpu - Guide for using gfx-rs's wgpu library.

nuklear - A single-header ANSI C immediate mode cross-platform GUI library

kiss3d - Keep it simple, stupid 3d graphics engine for Rust.

QMetaObject crate for Rust - Integrate Qml and Rust by building the QMetaObject at compile time.