Question about branch prediction for clauses that are either `true` for 100% of the time, or `false` for 100% of the time.

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • PSRayTracing

    A (modern) C++ implementation of the Peter Shirley Ray Tracing mini-books (https://raytracing.github.io). Features a clean project structure, perf. improvements (compared to the original code), multi-core rendering, and more.

  • Last year I was working on an implementation of the Ray Tracing in one Weekend book series. I noticed there was a fair amount of sub-optimal code in it, so I took the opportunity to rewrite parts of it to be better optimized. One of the other things I added to the CMake configuration were some compile time flags that could be toggled ON/OFF, as to use either the books code, or my code. e.g. WITH_BOOK_AABB_HIT=True, it would use the books' method AABB-Ray intersection. False, it would use my (faster) one. This allowed anyone else to download the code, toggle the change and easily see the effect it had on performance.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts