Files
Threadwell/archive/threads/rfleury/2025-10-10-new-post-multi-core-by-default/2025-10-11-preshing-thats-a-very-cool-way-to-exploit-parallelism-in.md
T

1.8 KiB

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to, parent_post_id
title type source source_url author handle post_id date archived draft tags description in_reply_to parent_post_id
@rfleury That's a very cool way to exploit parallelism in branchy CPU code! Never seen it done that way before. archive twitter https://x.com/preshing/status/1977058692693655623 Jeff Preshing preshing 1977058692693655623 2025-10-11 2026-08-25 false
archive
twitter
rfleury
@rfleury That's a very cool way to exploit parallelism in branchy CPU code! Never seen it done that way before. 1976458516325073141

Source

Branch

1/ @preshing ^1977058692693655623

@rfleury

That's a very cool way to exploit parallelism in branchy CPU code! Never seen it done that way before. I imagine it could also be applied to a specific subsystem (like a physics engine) while keeping the rest of the app single-threaded if desired... Thanks for posting!

2/ @rfleury ^1977060539785527575

Definitely! I recently converted a few big parts of the debugger codebase over to this style. As you say, I kept the UI / control threads (historically single core), but moved asynchronous background processing (as well as the PDB -> RDI conversion) to being completely within this style.

Ultimately what I hope to do is convert the UI and control threads to this “wide” style of code, so that they are simply more flexible, in that they allow me to make them as wide as I want. Once the code contains that extra information, both single and multi-core are on the table, whereas right now, only single core is on the table.