git404hub

what is gloam fr?

tycho/gloam — explained in plain English

Analysis updated 2026-07-21 · repo last pushed 2026-07-20

4CAudience · developerComplexity · 3/5ActiveSetup · moderate

tl;dr

Gloam is a command-line tool that generates the C glue code your game or graphics app needs to load and talk to graphics drivers like Vulkan and OpenGL, automatically from spec files.

vibe map

mindmap
  root((repo))
    What it does
      Generates C glue code
      Loads graphics driver functions
      Reads official spec files
    How you use it
      Run from command line
      Pick APIs and versions
      Drop files into project
    Key benefits
      Extremely fast loading
      Small file footprint
      Deterministic output
    Tech stack
      C language
      Command-line tool
      Vulkan support
    Audience
      Game engine developers
      Graphics programmers
      Performance-focused devs

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Generate minimal Vulkan function loaders for a game engine that only load the extensions you actually enabled.

VIBE 2

Create lightweight OpenGL and OpenGL ES loader files to drop into a graphics project.

VIBE 3

Produce deterministic, version-control-friendly C source files for graphics API function loading.

VIBE 4

Speed up game engine startup by loading only the specific graphics functions your app needs.

what's the stack?

CVulkanOpenGLOpenGL ESCLI

how it stacks up fr

tycho/gloamdrakeee/samp-plugin-luafreertos/freertos-cellular-interface-reference-ublox-sara-r4
Stars444
LanguageCCC
Last pushed2026-07-202015-07-222024-05-21
MaintenanceActiveDormantDormant
Setup difficultymoderatehardhard
Complexity3/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires the official graphics API specification files as input and familiarity with C build systems to integrate the generated source files.

in plain english

Gloam is a tool for game engine developers and graphics programmers that generates the "glue code" needed to talk to graphics APIs like Vulkan, OpenGL, and OpenGL ES. When you build a game or graphics application, your code needs to load specific functions from the computer's graphics driver at runtime. This loader code is tedious to write and maintain by hand, so this tool reads the official specification files and automatically generates the required C code for you. You run the tool from your command line, telling it which graphics APIs you want to support and which versions. It produces a set of C source and header files that you drop directly into your project. These files handle all the heavy lifting of finding and loading the graphics driver's functions. Once integrated, you can call graphics functions in your own code just as if they were standard built-in functions, and the generated code quietly routes those calls to the correct place in the driver. The main appeal is its speed and small footprint. The tool is designed to load only the specific graphics functions your application actually needs to use, rather than loading everything available. This makes the initialization process extremely fast and keeps the size of your compiled application much smaller than it would be with comparable loaders. The generated code is also completely deterministic, meaning if you run the tool twice with the same inputs, the output will be perfectly identical, making it safe to track in version control. This project is built for developers who care deeply about performance and predictability, particularly in game engines or other high-performance 3D applications. It offers a specialized mode for Vulkan that lets developers load functions based exactly on what they enabled when setting up their graphics context, entirely skipping slow driver queries. The README highlights that this approach is dramatically faster and produces much smaller files than older, more traditional methods.

prompts (copy fr)

prompt 1
Using the gloam tool, generate C loader files for Vulkan 1.3 and OpenGL 4.6. Show me the command-line arguments I need and how to integrate the output into my CMake project.
prompt 2
Help me set up gloam to generate a Vulkan-only loader that loads functions based exactly on the extensions I enabled when creating my VkInstance and VkDevice, skipping all driver queries.
prompt 3
I have a game engine in C and want to switch from a traditional OpenGL loader to gloam. Walk me through generating the loader, including only OpenGL 4.2 core functions, and calling a simple function like glClear through the generated code.
prompt 4
Generate gloam loader files for a project that supports both OpenGL ES 3.2 and Vulkan 1.2, and explain how to call functions from both APIs in the same C source file using the generated headers.

Frequently asked questions

what is gloam fr?

Gloam is a command-line tool that generates the C glue code your game or graphics app needs to load and talk to graphics drivers like Vulkan and OpenGL, automatically from spec files.

What language is gloam written in?

Mainly C. The stack also includes C, Vulkan, OpenGL.

Is gloam actively maintained?

Active — commit in last 30 days (last push 2026-07-20).

How hard is gloam to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is gloam for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.