filmov
tv
CppCon 2014: Lisa Lippincott 'How to call C libraries from C++'
Показать описание
—
--
Many libraries used by C++ programs present C-like interfaces that are compatible with C++, but are not directly compatible with good C++ style. Using these libraries directly is error-prone in many of the ways C++ is designed to avoid. It is better to pass through an interface layer that presents good C++ style on the C++ side.
But writing such an interface layer is daunting. Completing it may be an enormous task, as are documenting it and maintaining it as the underlying library evolves. To address this problem, I will present a style of writing such interfaces that can be used incrementally as needed, and that reduces documentation cost. I will also present a small library that supports the writing of interface layers in this style.
--
Lisa Lippincott is Chief Software Architect at Tanium, a bay-area startup. Her claim to fame is writing one phrase appearing in the C++ standard. In her spare time, she studies mathematical logic with a category-theoretic approach.
--
*-----*
*-----*
--
Many libraries used by C++ programs present C-like interfaces that are compatible with C++, but are not directly compatible with good C++ style. Using these libraries directly is error-prone in many of the ways C++ is designed to avoid. It is better to pass through an interface layer that presents good C++ style on the C++ side.
But writing such an interface layer is daunting. Completing it may be an enormous task, as are documenting it and maintaining it as the underlying library evolves. To address this problem, I will present a style of writing such interfaces that can be used incrementally as needed, and that reduces documentation cost. I will also present a small library that supports the writing of interface layers in this style.
--
Lisa Lippincott is Chief Software Architect at Tanium, a bay-area startup. Her claim to fame is writing one phrase appearing in the C++ standard. In her spare time, she studies mathematical logic with a category-theoretic approach.
--
*-----*
*-----*
CppCon 2014: Lisa Lippincott 'How to call C libraries from C++'
The Truth of a Procedure - Lisa Lippincott - CppCon 2019
Value in a Procedural World - Lisa Lippincott - CppCon 2021
What is the basic interface? (part 2 of 2) - Lisa Lippincott [ CppCon 2016 ]
What is the basic interface? (part 1 of 2) - Lisa Lippincott [ CppCon 2016 ]
Lisa Lippincott: How we reason about procedural programs
CppCon 2014: Walter E. Brown 'Modern Template Metaprogramming: A Compendium, Part I'
CppCon 2014: James McNellis & Kate Gregory 'Making C++ Code Beautiful'
CppCon 2014: Bryce Adelstein-Lelbach 'Practical Functional Programming in C++'
CppCon 2014: Jared Hoberock 'Parallelizing the Standard Algorithms Library'
CppCon 2014: John Lakos 'Defensive Programming Done Right, Part I'
Plenary: Neighborhoods Banding Together: Reasoning Globally about Programs - Lisa Lippincott -CppCon
CppCon 2014: Marc Gregoire 'Introduction to C++ AMP (GPGPU Computing)'
C++Now 2017: Lisa Lippincott “Locally Atomic Capabilities and How to Count Them'
CppCon 2014: Alisdair Meredith 'The Committee Experience'
CppCon 2018: James McNellis “The Shape of a Program”
CppCon 2014: Alex Allain & Andrew Twyman 'Practical Cross-Platform Mobile C++ Development&a...
Lisa Lippincott: What is the basic interface?
CppCon 2014: Walter E. Brown 'Modern Template Metaprogramming: A Compendium, Part II'
CppCon 2014: Nate Kohl 'cppreference.com: documenting C++ one edit at a time'
CppCon 2014: Matt Hargett 'A CTO's guide to Modern C++'
CppCon 2014: Alisdair Meredith 'Making Allocators Work, Part II'
C++Now 2019: Lisa Lippincott “Practical Interfaces for Practical Functions”
CppCon 2014: Andrew Sutton 'Generic Programming with Concepts Lite, Part I'
Комментарии