-
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.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
While working on a ray tracing implementation, I was interested in replacing out the usage of std::shared_ptr with something else. I've always been told that shared pointers are slow, and this is due to things such as reference counting. The original implementation of this ray tracer used shared pointers quite extensively in the rendering (hot path) code. I didn't want to deviate from the architecture for my implementaiton . Mostly, the pointers are passed around as const-ref objects.
Related posts
-
Question about branch prediction for clauses that are either `true` for 100% of the time, or `false` for 100% of the time.
-
Stories of what happened when you forgot to initialize a variable
-
Deploy multi-platform applications with C++ (desktop, mobile and web). An example with Dear ImGui
-
Introducing TeaScript C++ Library
-
C++20 Idioms for Parameter Packs