Threadwell

Recent Notes

  • DemetriSpanos

    Oct 06, 2026

    • archive
    • twitter
    • demetrispanos
  • NOTimothyLottes

    Oct 06, 2026

    • archive
    • twitter
    • notimothylottes
  • bonzajplc

    Oct 06, 2026

    • archive
    • twitter
    • bonzajplc
Home

❯

Archive

❯

Threads

❯

nicbarkeragain

❯

"Branchless Programming" is a term used to describe a programming style that improves performance by avoiding branches (e.g.

❯

@nicbarkeragain I think it's a cool field, like only using stack memory (e.g.

@nicbarkeragain I think it's a cool field, like only using stack memory (e.g.

Properties5
typearchive
sourcetwitter
date2025-07-22
tagsarchive, twitter, nicbarkeragain
description@nicbarkeragain I think it's a cool field, like only using stack memory (e.g.

Jul 22, 20251 min read

  • archive
  • twitter
  • nicbarkeragain

Source

  • URL: https://x.com/_benwick/status/1947680044093997065
  • Author: Benwick (@_benwick)
  • Posted: 2025-07-22 15:28:03

Branch

1/ @_benwick

@nicbarkeragain

I think it’s a cool field, like only using stack memory (e.g. alloca()), but people should be cautioned that “eliminating branches at all cost” isn’t always the solution. They’re terrible on shaders and bad in tight loops, but not something inherently evil.

Related

  • Spine: 2025-07-22-branchless-programming-is-a-term-used-to-describe

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • "Branchless Programming" is a term used to describe a programming style that improves performance by avoiding branches (e.g.

Created with Quartz v5.0.0 © 2026

  • GitHub