Simplify with C++17
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず mp/util.h と、列挙されている AUTO_RETURN、Priority<0/1/2>、およびタプルのインデックス付けパターンを監査し、kj::mvCapture の使用箇所も調べます。C++17 の機能を使った焦点を絞った置換に作業を分割し、各変更後も既存の動作が維持されることを検討します。
索引モデルが issue の本文から書いたものです。
説明
Saving note from an email, there are a ton of a simplifications that can be made now that C++17 is required:
A lot of code needs better comments, and there are also big swathes that are overcomplicated because they were written to use c++11, and can now be simplified with c++17. Examples:
- AUTO_RETURN macro uses can be replaced with auto return types
- Priority<0>, Prioriity<1>, Priority<2> overloads used for conditional compilation can all go away and be replaced with if constexpr
- std::tuple indexing code can go away and be replaced with std::apply
Basically all of mp/util.h can go away. Also kj::mvCapture uses can replaced with shorter direct captures.
- 主要言語
- C++
- スター
- 62
- フォーク
- 58
- 平均マージ
- 9日 9時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bitcoin-core/libmultiprocess のほかの issue
-
Listeners can't be stopped, so bitcoin-node can hang after shutdown when an IPC client reconnectsオープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
bitcoin-core/libmultiprocess#385 ·
メンテナーはふだん 1 日以内に返信
-
bug hardening
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
bitcoin-core/libmultiprocess#384 ·
メンテナーはふだん 1 日以内に返信
-
Calling an IPC object after or during destroy() makes the server use a null or freed implementation対応中かも @xyzconstant が 9 日前に担当しました。 オープンbug hardening
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
bitcoin-core/libmultiprocess#378 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
bitcoin-core/libmultiprocess#329 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
bitcoin-core/libmultiprocess#328 ·
メンテナーはふだん 1 日以内に返信
bitcoin-core/libmultiprocess の issue をすべて見る
似ている issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
EchoTools/nevr-runtime#2042 ·
メンテナーはふだん 1 日以内に返信
-
Download size and speed show scientific notation between 1000 and 1023 units対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1時間未満 初心者へのやさしさ 88/100
kiwix/kiwix-desktop#1570 ·
メンテナーはふだん 1 日以内に返信
-
Device Request
難易度 2/5 半日 初心者へのやさしさ 62/100
dresden-elektronik/deconz-rest-plugin#8686 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aminya/project_options#303 ·