Post #2397642
2026-05-10 18:45 UTC
how to make your cross-platform audio engine bloat free in 5 easy steps: https://garten.salat.dev/135-clang-wasm-audio/ (i almost fell off the chair when i saw step 4). shoutout to @sqx
Replies (2)
-
@sqx@mastodon.social 2026-05-10 20:10
@froos@post.lurk.org i've since found simple replacements for the remaining stuff i usually miss from libc: qsort: i turned this macrofied qsort back into a stdlib.h-compatible one: https://github.com/nothings/stb/blob/31c1ad37456438565541f4919958214b6e762fb4/deprecated/stb.h#L8721-L8846 malloc/free: turns out the original K&R book ("The C Programming Language") chapter 8.7 has an elegant malloc, meant as a teaching example, but it works: https://github.com/noncombatant/kr-malloc/blob/main/original_kr_malloc.c
-
@fleuron@mas.to 2026-05-11 18:50
@froos@post.lurk.org bad sines only ♥️