frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The Weird Concept of Branchless Programming

https://sanixdk.xyz/blogs/the-weird-concept-of-branchless-programming
18•judicious•1h ago

Comments

sfilmeyer•13m ago
I enjoyed reading the article, but I'm pretty thrown by the benchmarks and conclusion. All of the times are reported to a single digit of precision, but then the summary is claiming that one function shows an improvement while the other two are described as negligible. When all the numbers presented are "~5ms" or "~6ms", it doesn't leave me confident that small changes to the benchmarking might have substantially changed that conclusion.
MontyCarloHall•10m ago
This great video [0] demonstrates how CPU performance has only increased 1.5-2x over the past 15(!) years when executing extremely branchy code. Really shows you just how deep modern CPU pipelines have become.

The video also showcases a much more impressive branchless speedup: computing CRC checksums. Doing this naïvely with an if-statement for each bit is ~10x slower than doing it branchless with a single bitwise operation for each bit. The author of the article should consider showcasing this too, since it's a lot more impressive than the measly 1.2x speedup highlighted in the article.

[0] https://www.youtube.com/watch?v=m7PVZixO35c

rmnclmnt•8m ago
Great article, triggers some memories.

When you get to think about branchless programming, especially for SIMD optimizations in the real world, you always learn a lot and it’s as if you get a +1 level on your algorithmic skills. The hardest part then is make sure the tricks are clearly laidout so that someone else can take it from here next time

Legend2440•4m ago
Article doesn’t mention this, but I’d consider neural networks a form of branchless programming. It’s all a bunch of multiply and threshold operations.

Ultrasonic Brain Treatment May Reverse Memory Loss–and Even Prevent Alzheimer's

https://www.popularmechanics.com/science/a68008705/ultrasound-for-alzheimers-dementia/
1•happyopossum•6m ago•0 comments

UK Petition: Do not introduce Digital ID cards

https://petition.parliament.uk/petitions/730194
2•DamonHD•6m ago•0 comments

Mastering Dexterity, Defining Precision | Official Release of WUJl Hand [video]

https://www.youtube.com/watch?v=LXVV-oErD8s
1•LordNibbler•7m ago•0 comments

Get Anime Recommendations Based on Your Mood

https://www.anivibez.com
1•haka_•10m ago•0 comments

Mayor Adams drops out of NYC mayoral election after weeks of pressure

https://www.nydailynews.com/2025/09/28/mayor-adams-ends-mayoral-ection-campaign-after-weeks-of-pr...
4•detaro•13m ago•1 comments

Egypt's 'strongman' wrestler pulls ship using his teeth

https://news.sky.com/story/ashraf-mahrous-egypts-strongman-wrestler-pulls-ship-using-his-teeth-13...
1•austinallegro•13m ago•0 comments

Introduction to Slop Studies

https://simulacro.co.uk/introduction-to-slop-studies/
1•jruohonen•13m ago•0 comments

Microsoft and Corintis Champion Microfluidics Cooling Pioneered by IBM

https://www.nextplatform.com/2025/09/26/microsoft-and-corintis-champion-microfluidics-cooling-pio...
1•rbanffy•15m ago•0 comments

Dreaming the Dream: Boltzmann Brain

https://plus.maths.org/content/dreaming-dream
1•bookofjoe•22m ago•0 comments

Berkeley engineers develop customizable, 3D-printed robot for tech newbies

https://engineering.berkeley.edu/news/2025/06/berkeley-engineers-develop-customizable-3d-printed-...
1•ohjeez•24m ago•0 comments

Micro-variations in timing and loudness affect music-evoked mental imagery

https://www.nature.com/articles/s41598-025-12604-4
1•PaulHoule•25m ago•0 comments

Skillbased Versioning v1.0.2

https://www.skillbased.space/
1•baalimago•26m ago•0 comments

Show HN: A Firefox extension to avoid distractions

https://github.com/jsattler/zerodistraction
1•jsattler•27m ago•0 comments

Denmark bans civil drones after more sightings

https://www.dw.com/en/denmark-bans-civil-drones-after-more-sightings/a-74166973
8•rntn•28m ago•1 comments

IPv9 (China)

https://en.wikipedia.org/wiki/IPv9_(China)
1•st_goliath•31m ago•0 comments

How Walmart plans to prepare USAs largest private workforce for AI-driven future

https://apnews.com/article/walmart-ceo-mcmillon-ai-workers-154ece8ba303ce6ac8c5030e6f719aa1
1•c420•31m ago•0 comments

UN lists 158 firms tied to illegal Israeli settlements

https://www.aljazeera.com/news/2025/9/26/un-lists-150-firms-tied-to-illegal-israeli-settlements
9•NomDePlum•34m ago•0 comments

Communication: A Key Skill in Your Tech Stack

https://caponte.io/2025/09/28/Communication/
1•0xCaponte•39m ago•1 comments

Excuse me, is there a problem? (2023)

https://longform.asmartbear.com/problem/
1•FromTheArchives•42m ago•0 comments

Exploiting a Race Condition to print infinite money

https://blog.z.org/the-day-the-house-lost/
4•brutecat•43m ago•0 comments

Bayesian Data Analysis, Third edition [pdf]

https://sites.stat.columbia.edu/gelman/book/BDA3.pdf
6•ibobev•45m ago•0 comments

How tech companies measure the impact of AI on software development

https://newsletter.pragmaticengineer.com/p/how-tech-companies-measure-the-impact-of-ai
1•dreamfactored•46m ago•0 comments

A 3K-year-old copper smelting site could be key to understanding origins of iron

https://phys.org/news/2025-09-year-copper-smelting-site-key.html
3•pseudolus•47m ago•0 comments

Claude Fraud? Or Just an Anomaly?

https://anomify.ai/resources/articles/finding-claude
3•deepvibrations•47m ago•1 comments

How is TPU v3-8 different from v5e-8

1•sr5434•48m ago•0 comments

In C++ modules globally unique module names seem to be unavoidable

https://nibblestew.blogspot.com/2025/09/in-c-modules-globally-unique-module.html
1•ibobev•48m ago•0 comments

The Fuuki FG-3 and Asura Buster: The late 90s say Hello

https://nicole.express/2025/a-very-fuuki-circuit-board.html
2•pinewurst•53m ago•0 comments

Infrastructure – A meticulously careful selection of services

https://xn--gckvb8fzb.com/infrastructure/
1•thelastgallon•54m ago•0 comments

Real-Time Radiation World Map

https://www.gmcmap.com/
4•toomuchtodo•59m ago•0 comments

A Diverse World of Sovereign AI Zones

https://www.noemamag.com/a-diverse-world-of-sovereign-ai-zones/
1•giuliomagnifico•1h ago•0 comments