Hacker GitHub

← All repos

nothings/stb

View on GitHub ↗ ★ 34,927 C

stb single-file public domain libraries for C/C++

111 mentions on Hacker News by 78 people: 22 stories, 89 comments · first 2014-09-21 · latest 2026-08-10

Mentions per year 111 mentions · busiest year 2016 (15)
20082026
  1. ▲ 132
    Single-file public-domain/open source C libraries with minimal dependencies
    story by networked · 2016-01-23 · 48 comments
  2. There is also STB stretchy buffer, popular with game devs. https://github.com/nothings/stb/blob/master/stretchy_buffer....
    comment by dottrap · 2016-01-09 · in Why I Write Games in C
  3. …not be to all tastes, but there you go. (Here's another option, that's more like the link here: https://github.com/nothings/stb/blob/master/stretchy_buffer.... - note note about strict aliasing, which I imagine could apply to the list…
  4. …are after small code, you can take zlib decode functionality from stb_image.h code (public domain): https://github.com/nothings/stb/blob/master/stb_image.h#L345...
  5. ▲ 2
    Lessons learned about how to make a header-file library
    story by Tomte · 2015-08-19 · 0 comments
  6. …You don't need to zip or tar the files up, you don't have to remember to attach two files, etc. https://github.com/nothings/stb/
  7. ▲ 1
    Stb_voxel_render.h
    story by Impossible · 2015-04-27 · 0 comments
  8. …://github.com/ValveSoftware/vogl/tree/master/src/voglco... And of course already mentioned stb_image: https://github.com/nothings/stb/blob/master/stb_image.h
  9. I'm reminded of stb_image... https://github.com/nothings/stb/blob/master/stb_image.h
  10. …(i'd call them libraries, but almost all are written to be used as a single-header file include): https://github.com/nothings/stb
    comment by binarycrusader · 2014-09-28 · in Opus beats all other lossy audio codecs. Again
  11. …asset loading: http://assimp.sourceforge.net/index.html - the STB headers (not OpenGL specific): https://github.com/nothings/stb - GLFW as window system glue and input wrapper - ...and more which I am not aware of or forgot to list GPU…
    comment by flohofwoe · 2014-09-21 · in OpenGL in 2014