OSDT Weekly开源开发工具周报
首页 / 第 129 期

OSDT Weekly 第129期

2021-12-22 weekly-2021/2021-12-22.md

近期活动

编译社区的八卦信息

GCC

Binutils/GDB

GLIBC

LLVM/Clang/LLDB/LLD

本节内容来自 LLVM Weekly 第 416 期, Alex Bradbury 大哥持续稳定输出。

  • Rui Ueyama has released version 1.0 of the mold linker. It aims to be a much faster drop-in replacement for linkers like LLD and GNU gold. On a related note, MaskRay blogged about why ld.lld isn't faster than it is.

  • Tom Stellard shared an update on the 13.0.1 release. Backport requests will be accepted until Monday December 20th, and rc2 will be tagged shortly after.

  • Nikita Popov raises the question of further specifying the interaction of sret parameters and unwinding, with the goal of enabling more optimisations.

  • 讨论了好久: Tom Stellard kicked off an RFC discussion on introducing a new automated release workflow using GitHub Issues and Pull Requests. Respondents asked about the impact in terms of email notifications.

  • 它来了,LA来了! Weining Lu shared an RFC on adding a new backend for the LoongArch ISA. The work done so far is public, and is being re-factored into small incremental patches as was done for the RISC-V, CSKY, and VE backends.

  • LLVM GPU News #25 is out.

  • 复杂度管理不容易: Deferred inlining was disabled, as with the new pass manager it has been observed to have instances of 'catastrophic inlining' (see the detailed commit message for more details). a8c2ba1.

  • Pha支持patchset了? The process for working with patch series on Phabricator was documented. 2dbe589.

  • 默认开启: The v3 ThreadSanitizer runtime was re-committed and enabled by default. b332134, 9fb8058.

  • 微软: Microsoft's floating-point to_chars implementation was contributed to libcxx. It uses the Ryu and Ryu Printf algorithms. abb5dd6e.

  • 好久没玩过FreeBSD了: A FreeBSDKernel plugin was added to LLDB that supports reading FreeBSD kernel core dumps. 9c7fbc3.

  • MLIR突飞猛进: Patches implementing a new frontend pattern language for MLIR's PDL have started to land. See River Riddle's presentation at a recent MLIR open meeting for more information. 11d26bd, 322691a, d7e7fdf, and more.

  • libc进度稳定: LLVM's libc gained a strtold implementation. aa1902f.

  • 宋教授发挥稳定: In the ELF LLD linker, scanRelocations was split into scanRelocations and postScanRelocations. Postponing some work to postScanRelocations gives more flexibility, as described in the commit message. cf783be.

RISC-V in China

RT-Thread 社区

  • 上周末在深圳举办了 RT-Thread 开发者大会。千人规模。疫情也拦不住 RT-Thread 社区的热情。

TVM / MLIR / AI Compilers

  • 风平浪静。上周开了 TVM Conf 2021,估计视频快要在油管公开了。等油管有了小编1号试试搬运到B站来。

本周工具链岗位

往期社招及实习生招聘长期有效。

本周推荐阅读

本周推荐:《功利主义》

作者:英国的 约翰·缪勒

译者: 徐大建

推荐:小编1号

许多伟大的知识往往会因为其自身的简洁和广为人知而被人轻视,而功利主义无疑在此基础上又加入了大量的误解成分。让我们暂且不讨论功利主义起源地欧洲的争论;在中国,仅仅是因为翻译带有了“功利”二字,就让功利主义在中国多了许多自以为了解其内涵的路人。作者所在的时代估计也差不多,以至于作者直接在书中吐槽「他们抓住了“功利主义”一词,但除了词的发音之外对其一无所知,知识习惯性的用它来表达对某些形式的快乐、对美、对装饰或对娱乐的拒斥或忽视。」

小编1号以前在阅读哲学简史以及伦理科普书籍的时候接触过比较正统的功利主义。但是阅读了之后很快就忘记了,盖因为太理所当然了。这次阅读之后我估计也会很快的忘记,不同的是我看出了一点差异和自己过去的误解:功利主义口号中的「多数人的多数福祉」其中的衡量,是要求人无差别的将自己和他人摆在同等位置的,而这就已经是很高的道德水准,而且是带有内在的利他性了。而「多数」所针对的群体并不是一成不变的,也肯定不是全人类,而是功利主义者自己认可的所在的一个群体。这就很有集体主义的范儿了。但是作者此时又尝试在另一边刹车,表示并不能因为多数人的福祉就「对他人造成伤害」,这里使用了跟亚当·斯密的《道德情操论》同样的「同理心」作为根基。

我仍旧不能够自信,明天我更更加了解功利主义。而我有信心的时候,反复阅读之后,我从日常生活的大大小小现象和决策中都清楚的看到了功利主义的存在,不管什么样的宗教、什么样的政治色谱、什么样的组织架构;也正因此,对于不应该是用功利主义进行决策的论辩,会变得更加的警惕,和勇敢。

谁能想到功利主义能赋予一个人挑战社会不正确的勇气呢?所以一定要读原文啊(笑)。