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
20082026
-
▲ 132
Single-file public-domain/open source C libraries with minimal dependenciesstory by networked · 2016-01-23 · 48 comments
-
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 -
…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…
comment by to3m · 2015-11-30 · in Implementing a sort of generic, sort of type-safe array in C -
…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...
comment by mmozeiko · 2015-10-26 · in Show HN: Mini_gzip – embeddable, minimal, in-memory Gzip API -
▲ 2
Lessons learned about how to make a header-file librarystory by Tomte · 2015-08-19 · 0 comments
-
…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/
comment by lookbothways · 2015-08-18 · in Atria: A toolkit for modern C++ development from Ableton -
▲ 1
Stb_voxel_render.hstory by Impossible · 2015-04-27 · 0 comments
-
…://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
comment by mmozeiko · 2014-11-13 · in LodePNG: All-in-one PNG image decoder and encoder for C and C++ -
I'm reminded of stb_image... https://github.com/nothings/stb/blob/master/stb_image.h
comment by akx · 2014-11-13 · in LodePNG: All-in-one PNG image decoder and encoder for C and C++ -
…(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 -
…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