bgfx VS raylib

Compare bgfx vs raylib and see what are their differences.


Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library. (by bkaradzic)
Our great sponsors
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • Sonar - Free webinar: The Power of Clean C++
bgfx raylib
53 284
12,415 11,164
- -
9.4 9.7
4 days ago 2 days ago
C++ C
BSD 2-clause "Simplified" License zlib License
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.


Posts with mentions or reviews of bgfx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-28.


Posts with mentions or reviews of raylib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-29.
  • 2d graphics library for arcade games
    2 projects | | 29 Nov 2022
    Raylib is nice as well, but I haven't tried out the Java bindings:
  • Good graphics engines to visualize my physics framework?
    5 projects | | 14 Nov 2022
    Never used it myself, but I heard that raylib is easy to use and quite "minimalistic".
    5 projects | | 14 Nov 2022
    Okay, after specifically googling for a MacOS raylib I found the homebrew formula for it, but according to [here]( and [here](, raylib only has windows installations. You'd think they would at least *mention* that it's also on linux/macos on the download page.
  • Get Started With Rayex(Raylib for Elixir)
    3 projects | | 10 Nov 2022
    git clone raylib cd raylib mkdir build && cd build cmake -DBUILD_SHARED_LIBS=ON .. make sudo make install
  • Building a Microgame (2020)
    2 projects | | 2 Nov 2022
    The 24a2 engine seems like it adds unnecessary limitations. Just using something like Raylib would allow you to create the same simple game just as easily while also allowing you to continue learning and developing more complex games afterward.
    2 projects | | 2 Nov 2022
  • 100,000 subscriber celebration – Ask the Godot contributors anything!
    22 projects | | 1 Nov 2022
    Therefore, in terms of artist mindshare, Blender is the leading open source 3D creation program, but not the leading 3D creation program. I think Godot is already in a similar situation, and has been for a few years now. In comparison, most other open source game engines have focused on providing low-level functionality. These certainly fulfill a niche, but in my experience, most people want something that works at a higher level and comes with a built-in editor.
  • Is writing a Game Engine worth it?
    3 projects | | 30 Oct 2022
    TBH if you really want to leap in you might want check out something like - even just writing language bindings for your favorite language would be killer. If you are a Java dev you might want to check into the latest JDK/Project Panama) and write bindings for raylib as a first step.
  • What's the best 2D engine like pygame, but for Rust?
    5 projects | | 18 Oct 2022
    Macroquad is smaller and simpler but has a smaller community as well. I did some tests in it and found it to be very easy to use. Macroquad is inspired by raylib, which isn't rust but has rust bindings as well as python bindings if you'd like to compare to pygame. If you're experienced with pygame, I think you could be up and running with macroquad or raylib in an afternoon.
  • A Future Without Engines
    2 projects | | 16 Oct 2022

What are some alternatives?

When comparing bgfx and raylib you can also consider the following projects:

GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

magnum - Lightweight and modular C++11 graphics middleware for games and data visualization

Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)

DiligentEngine - A modern cross-platform low-level graphics library and rendering framework

SDL2 - SDL2 bindings to perl

The-Forge - The Forge Cross-Platform Rendering Framework PC Windows, Linux, Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2

SFML - Simple and Fast Multimedia Library

sokol - minimal cross-platform standalone C headers

Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

urho3d - Cross-platform 2D and 3D game engine

OpenSceneGraph - OpenSceneGraph git repository