CppCon 2019 has ended
Wednesday, September 18 • 16:45 - 17:45
Contract use: Past, Present, and Future

Log in to save this to your schedule and see who's attending!

WG21 has established SG21 to finalize a design for contract checking in C++.  For nearly 15 years, Bloomberg has been leveraging a macro-based contract-checking facility that has contributed greatly to the ongoing design of the future, language-based one.  In this talk, we will walk through the ups and downs of having implemented industrial-strength runtime pre-condition checking in real-world scenarios.  We will discuss how we initially used our home-grown macro-based solution to successfully detect bugs, how we've had to evolve our methodology over the years, and how these needs will help guide SG21 contracts so that you'll be able to take maximum advantage of language based contract when they arrive.

We will provide a detailed review of the most important features (to us) that contract checking in C++ will need to provide.  Then we will discuss what might be learned from what we've used successfully in the past so that contract checks can be added to large libraries, deployed across large organizations, and maintained as those organizations continue to adapt and grow.


Joshua Berne

Software Engineer, Bloomberg
Joshua Berne has been programming in C++ since first reading "The C++ Programming language" some time in the last century. After many years building distributed trading systems in other languages, Joshua has recently been working on the core libraries at Bloomberg. This has primarily... Read More →

Wednesday September 18, 2019 16:45 - 17:45
Crest 3
  • Level Intermediate, Advanced
  • Tags contracts

Attendees (143)

Twitter Feed