Add recommendations for option parsing
未關閉
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 110
- 分支
- 17
- PR 合併指標
- 30 天內沒有已合併 PR
描述
In C++ my experience says:
- If it is okay to use boost, use boost::program_options, it is a solid library.
- It is often not okay to use boost. The headers alone are > 50 MB 🙀 and contain > 13,000 files. And boost::program_options requires linking a precompiled library. This is massive weight and complexity for a build system just to parse options.
- So for lightweight C++ libs that might not otherwise have any dependencies we need to recommend a very lightweight option parsing solution.
/cc @GretaCB @joto @mapbox/core-tech @danpat
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
此 issue 未指定任何檔案、測試或進入點。研究輕量級的 C++ 選項解析方案,並根據已陳述的限制比較它們在相依性、標頭檔與連結方面的成本。完成的標準是記錄一份針對輕量級 C++ 程式庫的明確建議,同時說明何時仍適合使用 boost::program_options。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp
- 領域
- cli
- Issue 類型
- 文件
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100