handmade.network » Marc Costa

Recent Forum Threads

Forum CDbg
Post date Nov. 9, 2018, 9:23 p.m.


I was trying CDbg today at work where our main application takes a ton of arguments to even start…
Forum Code
Post date June 17, 2015, 11:40 a.m.


Hi Casey, While describing the WAVE file format as a chunked file format, you mentioned that you…
Forum Code
Post date June 17, 2015, 11:34 a.m.


Hi Casey, I believe there's a mistake in the WAVE_fmt struct: nBlockAlign has a size of 16 bits,…

Recent Forum Replies

Forum Code
Post date Aug. 9, 2019, 6:44 p.m.

In short, no, there are none. Programming is still more a craft than science, so there are no st…
Forum handmade.network
Post date July 5, 2019, 4:24 p.m.

If you don't know the upper bound of your array, you have mainly 2 options: 1) Resize & Copy…
Forum Code
Post date July 4, 2019, 9:20 p.m.

GLFW creates windows, handles input, manages multiple monitors, initializes different OpenGL impl…
Forum Code
Post date May 31, 2019, 4:29 p.m.

If you are OK using OS specific functions, then you can use _msize (MSVC), malloc_usable_size (Li…
Forum Code
Post date May 30, 2019, 11:03 p.m.

You ask malloc for an amount of memory, so you already know the size. Having said that, malloc w…