03 2024 档案

摘要:最好用的C++圈复杂度分析工具:pip install lizard,没想到它解析C++的函数块超级快,可以用来作为建立进一步的代码片分析的基础,完胜其他所有工具。 我花了1天多将一个C++模块测试覆盖率做到100%,对于代码如何才具有良好可测试性有了直观的经验,从测试的角度看代码的设计是否简洁是一 阅读全文
posted @ 2024-03-30 15:49 ffl 阅读(180) 评论(0) 推荐(0) 编辑
摘要:CodeReview发生在软件工具链的每一层,例如这里有对 GCC 生成的代码(汇编)的CodeReview: https://skanthak.hier-im-netz.de/gcc.html GCC 14对静态代码分析的改进:https://developers.redhat.com/artic 阅读全文
posted @ 2024-03-27 14:42 ffl 阅读(24) 评论(0) 推荐(0) 编辑
摘要:重装 nvidia-docker2 apt-get remove docker docker-engine docker.io containerd runc apt-get install apt-transport-https ca-certificates curl gnupg-agent s 阅读全文
posted @ 2024-03-27 14:27 ffl 阅读(23) 评论(0) 推荐(0) 编辑
摘要:NodeJS: async/awiat: https://github.com/fanfeilong/jsasync Python: asyncio支持 async/await: https://realpython.com/async-io-python/ Rust: async/await: h 阅读全文
posted @ 2024-03-25 14:58 ffl 阅读(19) 评论(0) 推荐(0) 编辑
摘要:静态变量在编译时和运行时初始化的顺序问题:https://www.modernescpp.com/index.php/c-20-static-initialization-order-fiasco/ C风格代码:https://github.com/mcinglis/c-style Unreal的C 阅读全文
posted @ 2024-03-21 13:00 ffl 阅读(15) 评论(0) 推荐(0) 编辑