Learn AI, Data Science & Business — Earn Certificates That Get You Hired
The Fastest Way to Become a Backend Developer Online
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore the intricacies of building a 2D physics engine in this comprehensive code review video. Delve into API design principles, ownership semantics with pointers, and the use of std::weak_ptr for enhanced safety. Learn about spatial partitioning techniques for optimization and the implementation of physics solvers. Gain valuable insights on careful optimization strategies and tackle additional challenges to further enhance your understanding of physics engine development.
Syllabus
- Recap
- How to design an API
- 2D Physics Engine design
- Pointers and ownership semantics
- Using std::weak_ptr to be "safer"
- More physics
- Spatial partitioning for optimization
- Be careful when trying to optimize!
- Physics solvers
- Final thoughts and extra challenges
Taught by
The Cherno