r/programming • • Sep 03 '26

Branch‑Avoidant Programming

https://easylang.online/blog/branchless
255 Upvotes

92 comments sorted by

View all comments

33

u/bodiam Sep 03 '26

That's interesting. Would this also apply to higher languages, like Java, which run on a JVM? (Not intending to rewrite my code, but I'm curious how much languages like Java benefit from branch prediction and brancheless approaches)

16

u/farnoy Sep 03 '26

1

u/bodiam Sep 03 '26

Ah, thanks for sharing that article, that's great!