≈ the.bay.news

Lanes.zig - A Zig Parallelism Library for CPU Kernels

Ziggit
Lanes.zig - A Zig Parallelism Library for CPU Kernels
lanes.zig I’ve been feeling inspired by Multi-Core by Default for a while now. I wanted to try it for a personal project, so for the past week or so I’ve been putting together a very small library that ports these concepts to Zig. It’s based largely on the blog post, plus his work in Rad Debugger. The idea is that by storing some context in a thread-local static variable, a thread can “locate” itself within a larger task, and synchronize with other threads via “Lanes”. Each thread gets a la...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.