GLFW VS Allegro

Compare GLFW vs Allegro and see what are their differences.

GLFW

A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input (by glfw)

Allegro

The official Allegro 5 git repository. Pull requests welcome! (by liballeg)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
GLFW Allegro
28 11
8,214 1,285
2.3% 2.4%
8.8 8.1
1 day ago 2 days ago
C C
zlib License 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.

GLFW

Posts with mentions or reviews of GLFW. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-13.
  • [Handmade Network] How to write better (game) libraries
    Even if someone wants to use VS2008 for game development, it only took me a Google search to find https://github.com/glfw/glfw/blob/master/deps/vs2008/stdint.h which doesn't have any dependencies and a very permissive licence.
  • how do i include glfw in my code to make a window?
    reddit.com/r/vscode | 2021-08-31
  • LibOS – Cross-platform OS features in C++
    reddit.com/r/cpp | 2021-08-23
    You seem to have had a similar impetus as I had 20 years ago when I created GLFW (though with a slightly different focus).
  • Is there a way to get japanese text input in raylib?
    reddit.com/r/raylib | 2021-08-23
    Thanks for the detailed explanation. I'm afraid I didn't considered that use case for raylib and it would require some investigation to implement it... but raylib uses internally GLFW for desktop platforms and I've seen there is a related issue: https://github.com/glfw/glfw/issues/41 About IME support by the browser, it should be investigated. Feel free to open an issue on raylib GitHub for further investigation!
  • Massive trouble with GLFW header inclusion. Can someone help?
    Looking at the actual code of the .h file, it looks pretty empty, and like it needs some extra files perhaps. For instance, functions are just filled with comments with some random explanations, so they are basically 1 line, which probably does nothing. Here you can take a look yourself on github.
  • Hey, I want start
    I would suggest using GLFW and Glad with C++ and use LearnOpenGL as a refrence
  • Compiling in MacOS M1 Chip (arm64)
    reddit.com/r/raylib | 2021-07-22
    Now I read the logs and it seems the issue is with GLFW. I've found this: https://github.com/glfw/glfw/issues/1805
  • Opengl(glfw) gears on termux x11 NO ROOT!!
    reddit.com/r/termux | 2021-07-19
    Clone the glfw repositiory - git clone https://github.com/glfw/glfw.git
  • 3D Visualization with C++
    Use https://www.glfw.org/ to get a window with an OpenGL context.
  • A better way of running Minecraft Without XWayland. Because I REALLY had nothing better to do with my life.
    https://github.com/glfw/glfw/pull/1725 (which is where I got some patches from) says there wasn't much upstream interest on merging the patches. But https://github.com/glfw/glfw/pull/1711 (the fix for the freezing issue) might be a good candidate for merging, though I don't know how GLFW people work, so I cannot comment on if it is properly upstreamable or not.

Allegro

Posts with mentions or reviews of Allegro. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-17.
  • how to compile c++ using Allegro and clang
    reddit.com/r/termux | 2021-10-17
    Even fallowing https://github.com/liballeg/allegro5/blob/master/README_android.txt you can't build with the instructions provided most because you will need some things of android ndk to properly build the allegro. Also, this build instructions is for build for build allegro for use in an Android apk.
  • How to download allegro5 from Termux?
    reddit.com/r/termux | 2021-10-14
    git clone https://github.com/liballeg/allegro5
  • Latest usable allegro+toolchain?
    reddit.com/r/DOS | 2021-09-20
    I am trying to find the latest version of allegro + DJGPP that I can use to build a game. I found the 4.2 branch of allegro, but I am unsure which version of DJGPP to use to build it.
  • GeForce NOW leak includes Cities Skylines 2 in its list of unreleased games.
    Factorio was written in C++ with help of Allegro graphic library, it's custom game engine, models are made in Blender, rendered in a 45deg angle to match isometric view. Unity wouldn't handle a game with that scale - it has too many "useless" features for that type of games.
  • What are your recommendations for c++ game dev?
    reddit.com/r/cpp | 2021-08-26
  • Factorio Violated Our License
    reddit.com/r/gamedev | 2021-08-02
    I'm an Allegro 5 (https://liballeg.org) developer. We have a very simple license that simply requires putting the license in your distribution. Factorio has never complied with this.
  • I ported Allegro 5 to python
    reddit.com/r/gamedev | 2021-05-02
    Allegro 5 already comes with Python bindings if you someone wants to use it and write in Python: https://github.com/liballeg/allegro5/tree/master/python
    reddit.com/r/Python | 2021-05-02
    Allegro 5Β is originally a game development library in C language. Since I found this library to be ideally powerful and I developed dozens of games with it in C, I found it nice that I could also use it in python in case of mini projects which require less performance (given the slowness of python compared to C). In short, you can install it with:
  • New to c++, need help to try to understand this piece of code from Allegro library
    https://github.com/liballeg/allegro5/blob/05248497a19e6217746f5579645e57bfd7ee383e/include/allegro5/display.h#L111
  • Allegro 5.2.7 Released
    news.ycombinator.com | 2021-03-09

What are some alternatives?

When comparing GLFW and Allegro you can also consider the following projects:

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

SDL - Simple Directmedia Layer

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

OpenSceneGraph - OpenSceneGraph git repository

glad - Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.

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

Open-Source Vulkan C++ API - Open-Source Vulkan C++ API

Cocos2d - Cocos2d-x is a suite of open-source, cross-platform, game-development tools used by millions of developers all over the world.

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

Godot - Godot Engine – Multi-platform 2D and 3D game engine

cdecrypt - Decrypt Wii U NUS content β€” Forked from: https://code.google.com/archive/p/cdecrypt/

Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.