u/pLeThOrAxin r/ProgrammingLanguages • Recommends
On “How stupid would it be to replace an "if" statement with purely logical operators?”
#branchlessprogramming#assembly#c++
104K subscribers • 4 videos on Hallway
Intermediate. Assumes working knowledge.
1.7M views6 years ago2 recommendations
Systems programmingPerformance and optimizationCPUs and computer architecture
An explanation of how CPU branch prediction works and how to write branchless code in C++ and assembly to improve performance.
Support What's a Creel? on Patreon: patreon.com/whatsacreel Office merch store: whats-a-creel-3.creator-spring.com FaceBook: facebook.com/whatsacreel/ In this video we look at branchless programming. This is a technique to gain speed in our high and low level programming by avoiding branching code as much as possible. Software used to make this vid: Visual Studio 2019 Community: visualstudio.com/downloads/ OBS: obsproject.com/ Davinci Resolve 16: blackmagicdesign.com/products/davinciresolve/ OpenOffice: openoffice.org/ Gimp: gimp.org/What people say. Recommended as an awesome and practical tutorial on branchless programming and conditional logic.
u/pLeThOrAxin r/ProgrammingLanguages • Recommends
On “How stupid would it be to replace an "if" statement with purely logical operators?”
xtianon Lobsters • Recommends
u/wholl0pin r/C_Programming • Mentions
On “Function to convert uppercase letters to lowercase”
u/arthurbacciin r/C_Programming • Mentions
On “A Text Editor made in C, with only ncurses as requirements”
u/tandonhitenin r/C_Programming • Mentions
On “Fastest possible way to calculate distance between 2 points?”