glium VS wgpu

Compare glium vs wgpu and see what are their differences.

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 wgpu
17 194
3,382 10,846
0.8% 4.1%
8.0 9.9
about 1 month ago 1 day ago
Rust Rust
Apache License 2.0 Apache License 2.0
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.

wgpu

Posts with mentions or reviews of wgpu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-02.

What are some alternatives?

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

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

vulkano - Safe and rich Rust wrapper around the Vulkan API

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

tauri - Build smaller, faster, and more secure desktop applications with a web frontend.

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

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

rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

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

bevy - A refreshingly simple data-driven game engine built in Rust

femtovg - Antialiased 2D vector drawing library written in Rust

bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.