Rust opengl or similar for game engine or gui development

Hello. I am starting with opengl, sdl2 with c++, cmake on linux and goes... well, then I wonder:

  1. How could it be with rust?
    I have found only one tutorial for opengl: opengl-in-rust-from-scratch.
  2. Is there a way to develop a video game(Just graphics, interface and mechanics) and/or gui like qt/gtk?
  3. How is rust with opengl or vulkan?
  4. Is sdl2 and sfml a good port?

This link gives a short but comprehensive intro.

1 Like

Thank you for the link, but it is oriented to vulkan and in my laptop does not get well with it.
I have found a GLFW crate. Comparing with C++ GLFW how it goes on Rust?

You might want to have a look at Luminance. It's Rust graphics API designed to be easy and safe to use.

1 Like

Thank you for the advice, but reading the info says "a bit less low-level than vulkan". Sorry for my pour Rust, but watching the examples of luminance, is not too low level as glfw/opengl. Correct me if I'm wrong.
That's why I mention GLFW crate.

Note: I do not choose gfx-lh because is vulkan, and my laptop refuces to work with it.

I don't know for sure because I haven't used it myself, I just knew about it and thought I might try it out for simple game graphics sometime.

1 Like