Skip to content

Add C++ binding library #12

@oleg-nenashev

Description

@oleg-nenashev

The current C API is quite complicated for consumption. It would be great to have a C++ binding with better developer experience for C/C++ users.

  • Namespace
  • Proper Structures
  • TBD: Classes

Possible implementations

  1. A single-header C++ library. The class structure can be inspired by the Rust or Java implementation. Java is a reference implementation, so the structure could be considered as a North Star for us
  • Maybe: Java API export to C++ bindings boilerplate
  1. Creating a new official Docker client for C++, and rebuilding a Testcontainers impl from Scrath => XXXXXL sized project
  2. ? Connecting to another implementation over API

C++ Standard: TBD but something relatively recent

TODOs

  • Define the approximate architecture of the API
  • First PoC
  • Include C/C++ binding into the distros and get a preview
  • More tests and demos
  • Update documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions