Hacker GitHub

← All repos

RandyGaul/cute_headers

View on GitHub ↗ ★ 5,097 C

Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

9 mentions on Hacker News by 7 people: 3 stories, 6 comments · first 2019-03-10 · latest 2025-02-08

Mentions per year 9 mentions · busiest year 2025 (3)
20082026
  1. Since you left this "optimize me" comment here: https://github.com/RandyGaul/cute_headers/blob/755849fc2819d... See an optimized quaternion multiplication implementation in SSE by me here: https://stackoverflow.com/questions/18542894/how-to…
  2. …statement for your operator[], which likely causes a lot of unnecessary bad speculation at runtime: https://github.com/RandyGaul/cute_headers/blob/755849fc2819d... I fixed this exact problem in a highly used library in high energy physics:…
  3. ▲ 77
    Collection of one-file C/C++ libraries with no dependencies, primarily for games
    story by elpocko · 2025-02-08 · 35 comments
  4. ▲ 2
    Collection of cross-platform one-file C/C++ libraries with no dependencies
    story by tomcam · 2024-12-10 · 0 comments
  5. …cs.cocos.com/creator/2.4/manual/en/advanced-topics... - https://github.com/mattdesl/gl-sprite-batch - https://github.com/RandyGaul/cute_headers/blob/master/cute_s... It's a simple and relatively straightforward approach that a sufficiently…
  6. …proprietary or LGPL). I'm now just using a simple single-header audio library in cute_headers ( https://github.com/RandyGaul/cute_headers/blob/master/cute_s... ), but will probably switch to MiniAudio once the high-level API is finished (…
    comment by cyber_kinetist · 2021-11-07 · in How does a game engine work? an overview (2016)
  7. …as char arrays, and convert them when needed. Meanwhile, you could use this single file header: https://github.com/RandyGaul/cute_headers/blob/master/cute_u...
  8. …where you need to do rapid prototyping. A lot of game utilities are distributed this way, e.g. https://github.com/RandyGaul/cute_headers
  9. ▲ 71
    Single-file cross-platform C/C++ headers implementing self-contained libraries
    story by ingve · 2019-03-10 · 44 comments