Job System 2.0: Lock-Free Work Stealing – Part 5: Dependencies

In today’s post, we will finally take a look at the last remaining piece of the new job system: adding dependencies between jobs.

Continue reading

Advertisements

Getting the type of a template argument as string – without RTTI

I recently had the need to retrieve the type of a template argument as a human-readable string for debugging purposes, but without using RTTI – so typeid and type_info were out of the question.

Continue reading

Job System 2.0: Lock-Free Work Stealing – Part 2: A specialized allocator

As promised in the last post, today we will be looking at how to get rid of new and delete when allocating jobs in our job system. Allocations can be dealt with in a much more efficient way, as long as we are willing to sacrifice some memory for that. The resulting performance improvement is huge, and certainly worth it..

Continue reading