Better HN
topnewbestaskshowjobs
Log inSign up

marvhus

1 karma · joined Oct 20, 2025 (1y ago) · 1 submissions

Submissions

comment 1y ago · link · parent

> Though his approach still requires explicit coordination (LaneIdx(), barriers, range distribution) vs BEAM where the scheduler automatically distributes processes across cores.

I don't see how a separate and abstract scheduler handing out tasks is any faster/better.

Being explicit isn't always a bad thing. It lets you better understand and control what is going on, which is very useful. For example: in one of the examples Fleury gave in the aticle, he showed how you could take advantage of this explicitness to avoid having to wait on other threads just to get a new task to work on. (https://www.rfleury.com/i/172146732/dynamically-assigning-ma...)