败犬日报 2025-07-04
1. 用不用 assert
可以用。assert 只有在 debug 模式会检查,release 有 NDEBUG 宏就不工作。
不过 release 模式只要非性能瓶颈,还是最好也带上检查,但是不要 core,产生一个的异常即可。
项目大多都是自定义一个(或多个)类似的功能。
2. jemalloc 生平(文章)
原文 https://jasone.github.io/2025/06/12/jemalloc-postmortem/
翻译 https://zclll.com/index.php/default/jemalloc-postmortem.html
3. cppreference 迁移 markdown 的项目
https://www.zhihu.com/question/1923061060665059053/answer/1924500037876023567