|
|
|
|
|
by iKlsR
745 days ago
|
|
Author has a similar post on his blog, poor man's multithreading, took me down a rabbit hole for many many months getting equivalent in Qt for a multithreaded opengl renderer 8 years ago. Ended up learning a lot on profiling, memory alignment, rolled some toy stuff like a circular buffer, lightweight mutex and a serialization lib. Fun painful times but probably wouldn't do it again. Funnily enough it was also one of the first things I asked gpt when it became widely available and it laid out a decent enough example with glfw and stdlib. |
|