CppCon 2016: Erik Smith “A modern database interface for C++'

preview_player
Показать описание


C++ has historically had many options for database connectivity but has lacked a standard interface that other languages, such as Java, have had for a long time. This talk will present a standards grade interface along with experience with a reference implementation that includes support for at least 6 databases. A key aspect of the design is to show how modern C++ features can be used to achieve a high degree of both efficiency and ease-of-use. Specific features to be covered will include type conversion, connection pooling, I/O binding for scalars and arrays, row sets, direct/polymorphic interfaces, policy based design, the driver interface, and details on the implementation. Forward looking standards proposals, such as ranges and variants, will also be included in the discussion.

Erik Smith
Engineering Manager, TranscendInsights
Erik Smith is a member of the clinical analytics team at Transcend Insights in San Diego. Erik is a specialist in building high performance full stack applications. He is a co-founder of AppFluent, a maker of database caching technology and analytic monitoring software. He has a diverse background in the development of C++ applications involving database interfaces and in the implementation of database engines.


*-----*
*-----*
Рекомендации по теме
Комментарии
Автор

This is mimicking the ODBC API objects. I think this is something C++ developers are in need of if we don't want to rely on Qt. I hope this gets into the standard soon!!

espid
Автор

It's been 5 years, One modern database please

TNothingFree
Автор

Much better than the quick-and-dirty DB interface layer I wrote. I look forward to flushing that code.

vonkruel
Автор

Stop clicking your tongue argh 😡 Cool interface though

alexparker
Автор

Thank you Erik for giving us HOPE. It is really long overdue. Unfortunately there still is nothing in the github, so I couldn't go though the API, but it looks nice on slides.

AlexeiFarWest
Автор

Still no code checkin. Can we expect it happening or is it already dead again?

llothar