Add C++ binding library

オープン
#12 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る

関連するプルリクエストがすでにマージされています。

  • #54 @seffradev による — マージ済み

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
c, cpp

調査の方向性

Start by reading the existing C API and the Java implementation, which the issue identifies as the reference for the C++ structure; the Rust implementation is another comparison point. The issue's stated remaining work is to add more tests and demos and update the documentation, but the binding design and C++ standard are still undecided.

索引モデルが issue の本文から書いたものです。

説明

enhancement

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
主要言語
C
スター
58
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

testcontainers/testcontainers-native のほかの issue

testcontainers/testcontainers-native の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。