往期地址: https://github.com/hellogcc/OSDT-Weekly
近期活动
无。近期国内开始疫情积极防控,大家注意自身保护,预祝大家假期愉快,健健康康。
重点推荐柴静记者写的《看见》,里面有关于2003年的描述。柴静记者所在的央视采访小组,是当年为数不多进入感染区一线进行持续、深度采访的调查团队。柴静书中公开出来的内容,即使只有温和的部分,也足以跟当下的现实一起,对你,作为一个渺小的个体,可能带来恍然大悟的震撼。
编译社区的八卦信息
临近春节最大的八卦就是「木兰」编程语言的新闻。速度太快,一周之内,宣发、质疑、道歉,已经完成了一次八卦的路径。 事情的来龙去脉和因果关系,对于HelloGCC/HelloLLVM社区的小伙伴也都差不多清晰。 设计一个DSL解析翻译到一个现有的后端(LLVM或者JVM等)技术实现上没有特别的地方,是业界通用的做法, 例如 Apple 的 Swift 和 Mozilla 的 Rust 是翻译到 LLVM, Scala 语言是翻译到 JVM, 微软的 TypeScript 是翻译到 JavaScript 语言。 错误的点在于 overclaim,将不是自己做的 Python 后端也说成了自己做的。
希望能够反思之后,拿出更加扎实的工作成果,在开源编译器领域贡献一份力量。在编译器(和开源开发工具)领域,太需要国内的同行们携起手来,积极投身贡献了。
GCC
GCC开发进入 Stage4, 为 10.0 Release 做准备 [committed] Bump gcc/BASE-VER to 10.0.1 now that we are in stage4. https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00885.html
感兴趣的同学可以关注一下 GCC GSoC 2020: Call for mentors and project ideas https://gcc.gnu.org/ml/gcc/2020-01/msg00317.html
Nic 关于 GCC 并行编译的一些想法 GCC Multi-Threading Ideas https://gcc.gnu.org/ml/gcc/2020-01/msg00367.html
GCC开发流程刚迁移到Git,新的代码提交流程值得学习 Help with new GCC git workflow... https://gcc.gnu.org/ml/gcc/2020-01/msg00257.html
1-800-GIT-HELP question https://gcc.gnu.org/ml/gcc/2020-01/msg00287.html
阿里的同学发出C++前端 coroutine 相关改进 [PATCH Coroutines] Add error messages for missing methods of awaitable class https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01150.html
[PATCH Coroutines] Fix ICE when co_awaiting on void type https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01151.html
Julian Brown 修复 OpenACC 相关bug [PATCH 0/3] Mixed static/dynamic data lifetimes with OpenACC (PR92843) https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01060.html
IBM上海团队发出IVOPT相关改进 [PATCH 0/4 GCC11] IVOPTs consider step cost for different forms when unrolling https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00938.html
Binutils/GDB
[arm][0/5] MVE backports for binutils 2.33 https://sourceware.org/ml/binutils/2020-01/msg00217.html
[PATCH 0/3] Identify reproducible build PE files in 'objdump -p' https://sourceware.org/ml/binutils/2020-01/msg00300.html
H. J. Lu 和 Jan Beulich 持续改进x86汇编器 [PATCH] x86: VCVTNEPS2BF16{X,Y} should permit broadcasting https://sourceware.org/ml/binutils/2020-01/msg00266.html
C-SKY 贡献 RISC-V GDB Server 调试支持 [PATCH] riscv: add gdbserver support https://sourceware.org/ml/gdb-patches/2020-01/msg00404.html
Tom Tromey 将 GDB Server 从 gdb/ 移动到 / 根目录 [PATCH] Move gdbserver to top level https://sourceware.org/ml/gdb-patches/2020-01/msg00591.html
GLIBC
Florian Weimer 提问 s390 VDSO 支持 Loss of vDSO support on s390x https://sourceware.org/ml/libc-alpha/2020-01/msg00301.html
Y2038 问题的 fix [PATCH 0/6] y2038: Convert settimeofday to be Y2038 safe https://sourceware.org/ml/libc-alpha/2020-01/msg00398.html
[ANNOUNCE] The Linux Test Project has been released for JANUARY 2020 https://sourceware.org/ml/libc-alpha/2020-01/msg00443.html
Florian Weimer 发出 resolv.conf 重载冲突的问题 [PATCH 0/5] Race condition in /etc/resolv.conf reloading (bug 25420) https://sourceware.org/ml/libc-alpha/2020-01/msg00490.html
LLVM/Clang/LLDB/LLD
本节来自于 Alex Bradbury 的 LLVM Weekly。
LLVM 10.0 has now branched.
The next batch of C++ Standards Committee papers is now available.
An initial implementation of C++ coroutines has been pushed to GCC master.
Chris Lattner has made a proposal on improving decision making in the LLVM community. This includes a process for proposing changes and determining what the decision making body should be for these proposals.
The merging of f18/flang into the monorepo has been postponed.
Lang Hames has posted the first of hopefully many ORC JIT weekly updates. This initial status update gives highlights from 2019 development and outlines the plan for 2020.
Alex Bradbury penned an RFC on upstream support for yet-to-be-ratified RISC-V extensions, such as the in-development bit manipulation and vector instruction set extensions. The proposal is to accept patches for these upstream in order to reduce duplicated effort and encourage collaboration, but to guard enabling of these extensions by a suitable unappetising flag.
Sriraman Tallam shares an update on the Propeller post-link optimisation framework.
Sam Elliott shared the current plan for supporting LTO for RISC-V and encoding target-abi into module flags.
Ondrej Sykora proposes implementing the recently published BHive methodolgoy for for benchmarking basic blocks in llvm-exegesis.
The thread on moving from Phabricator to GitHub PRs saw a huge volume of new comments in the last week, starting with e.g. this one. Sadly, I don't have time to summarise - apologies.
Chris Lattner fed back on the discussion started last week about new approaches for loop transformations in LLVM.
TableGen now supports a
defvarstatement as well asif/then/else. 3388b0f, ddbc0b1.Shrink wrapping is now enabled for RISC-V. cd800f3.
RISC-V in China
过年了,风平浪静。
TVM 社区
恭喜蓝色同学拿到了 tvm 社区的 committer 权限 🎉
Tianqi Chen notifications@github.com via tvm.apache.org
Thu, Jan 16, 6:55 AM (1 day ago)
to apache/incubator-tvm, Subscribed Please join us to welcome @FrozenGene as a new committer
He as been an active advocator of TVM. He has helped reviewed many code related to backend codegen and TFLite support. He also contributed to various areas of the codebase including C++ RPC, Arm support and LLVM related code. He recently lead the push for the new unified heterogeneous runtime packaging
Mozilla
风平浪静。
方舟开源编译器社区
由 HelloGCC 社区建立维护的第三方邮件列表开始使用。
http://freelists.org/archive/hellogcc-maple
可以订阅或者查询历史信息。
Rust
call for contributors
一位 Rust 活跃开发者退出了,引发了不少的讨论。 小编1号看了下,可能主要是 burnout。 在更大的开源领域,有关开源开发者的关心关爱和心理建设问题也开始由国内社区讨论。
Golang
call for contributors
wasm
call for contributors
Academic
call for contributors
本周工具链岗位
过年休息。
邢明杰老师
本周推荐阅读
本周推荐:《皇帝的四库:乾隆朝晚期的学者与国家》
作者:【美】盖博坚
译者:郑云艳
推荐人:小编3号
真正深入了解《四库全书》是在读博之后。史学研究讲究“由经学入史学”, 经学研究是史学研究的根基。我的研究方向对于经学问题又多有涉及, 于是《四库全书》则成了我日常学习研究不可或缺的资料来源。此种情形之下, 进而开始关注四库的研究专著,注意到了《皇帝的四库》。
《皇帝的四库》是作者盖博坚在哈佛大学的博士论文,是英文世界唯一一部以四库 编撰问题为研究对象的专著。他从最初国家编撰四库的动机入手,对于学者的反馈、 编撰过程中学者和官僚的冲突、审稿人的考察以及书稿内容的审查等方面都做了深 入的研究,并将整个研究的主线落到了学者与国家的关系之上,试图从二者的关系 中理清编撰过程中的问题和冲突。
这本书对于非专业读者也很友好,是了解四库编撰问题非常好的书籍。小编3号推荐 给所有想了解四库的朋友,或者是对乾隆感兴趣的朋友。
Footnotes:
GNU 部分来自于小编2号。 LLVM 部分由小编1号编译自 LLVM Weekly。 书评由小编3号提供。