HelloGCC/HelloLLVM/OSDT 近期活动
无。年底都等着回家过年。等春天开始举办线下聚会。目前 V8 主题预定。
编译社区的八卦信息
GCC
1. GCC开发迁移到GIT
git conversion in progress
https://gcc.gnu.org/ml/gcc/2020-01/msg00151.html
Help with new GCC git workflow...
https://gcc.gnu.org/ml/gcc/2020-01/msg00257.html
2. Gary O'Block 询问关于GCC LTO的问题。有意思的是Gary同时是一位青铜雕塑家
Comparing types at LTO time
http://www.bronzedreams.com/about.html
https://gcc.gnu.org/ml/gcc/2020-01/msg00074.html
3. David Malcolm发出最新版GCC静态分析器支持
[PATCH 00/41] v5 of analyzer patch kit
https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00314.html
4. Martin和Jan关于IPA优化的讨论继续
[PATCH] Add Optimization for various IPA parameters.
https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00065.html
5. Iain Sandoe更新GCC对C++ coroutines的支持
[C++ coroutines 1/7] Common code and base definitions
https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00432.html
6. Michael Meissner更新PowerPC处理器选择支持
PowerPC -mcpu=future Version 12 patches
https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00494.html
Binutils/GDB
1. Alan Modra修复UBSAN暴露出的代码问题
ubsan: tilepro: signed integer overflow
https://sourceware.org/ml/binutils/2020-01/msg00103.html
2. Matthew Malcomson改进SVE指令汇编逻辑
[gas][aarch64] Turn on SVE when using f32mm or f64mm extensions
https://sourceware.org/ml/binutils/2020-01/msg00128.html
3. Ali Tamur增加GDB对DWARF5新feature的支持
[PATCH] Dwarf 5: Handle debug_str_offsets and indexed attributes that have base offsets
https://sourceware.org/ml/gdb-patches/2020-01/msg00187.html
4. Luis Machado更新GDB AArch64后端断点支持
[PATCH 0/2,v2][AArch64]Handle additional brk instruction patterns
https://sourceware.org/ml/gdb-patches/2020-01/msg00333.html
GLIBC
1. Alistair Francis推进RISC-V 32-bit支持。西部数据对RISC-V的兴趣很大。
[RFC v6 00/23] RISC-V glibc port for the 32-bit
https://sourceware.org/ml/libc-alpha/2020-01/msg00199.html
2. Samuel Thibault将C11线程移植到Hurd
[PATCH 00/10] Port C11 threads to GNU/Hurd
https://sourceware.org/ml/libc-alpha/2020-01/msg00269.html
LLVM/Clang/LLDB/LLD
Alex Bradbury 继续稳定更新, LLVM Weekly 已经到了315期。本节是对 LLVM Weekly 的加评注节选版本。
LLVM 10.0.0 is branching .
Fortran Frontend Flang 还在为能够进入 LLVM monorepo 而争辩着, summarised by Richard Barton, 另一边,亲儿子 MLIR 前不久直接进入monorepo之后,在 MLIR 上建立的 Dialect 之一 Fortran 前端 FC 也开始跃跃欲试。 这个场面就有点尴尬了,希望两边的同行都不要将自己的年终奖跟是否 landing 成功关联起来, 不然这个KPI不好拿了(同样是做开源社区的你是不是经历过类似的事情?哈哈)
将 Review 机制从 Pha 转移到 GitHub 依然在讨论。 (个人觉得明显 Pha 要甩出 GitHub 几条街,但是小编1号的意见没啥用(
Bill Wendling kicked of a discussion on moving to GitHub pull requests. This generated a range of responses discussing teh relative merits of Phabricator's code review vs GitHub, e.g. this one from David Chisnall.
Clang 支持的矩阵运算?有人了解么?
Florian Hahn has now posted two patches demonstrating what matrix support in Clang might look like and is seeking feedback.
不了解。不过既然提到了 RISC-V …… 后续还是了解下吧。
Zakk is seeking input on how to encode the target-abi into LLVM bitcode for LTO. This question is motivated by the RISC-V backend's needs, and Zakk has posted patches for two possible approaches.
还是继续 GitHub 迁移的事儿。
Volodymyr Sapsai proposed adding a publish-subscribe mechanism for GitHub events, to allow people to implement webhooks for LLVM activity without requiring repo admin involvement.
这个话题有社区小伙伴在关注么?欢迎留言区评论。
Serge Pavlov started a discussion on calling functions from the non-default floating-point environment, querying whether the floating point state should be saved/restored or not.
OK。
JF Bastien has bumped the thread he started on the proposed LLVM security group and process.
fat pointers,欢迎关注这块儿的社区小伙伴留言评论。
Jie Zhou started a thread seeking advice on the best way of implementing fat pointers for C. David Chisnall fed back guidance on what CHERI did.
看起来 LLVM 的 libc 项目在红红火火的进行中。国内有跟进和参与的小伙伴么?
Chris Kenelly started a discussion on implementing memcpy, memset, memcmp, and bcmp in LLVM's libc. The email contains a wealth of information on measured distrubtions and thoughts on trade-offs. "We see hardware support for these operations as the future".
LLVM commits
NCE/东芝的 Vector Engine?
An initial backend stub was committed for the NEC SX-Aurora TSUBASA Vector Engine. 00c6e98.
AMD 得到了一个调度模型的改进。
A scheduling model was committed for the AMD Znver2 (Rome) cores. 3408940.
这个数字好像很厉害的样子,50% 啊。
check-llvm now runs 50% faster on macOS and 18% faster on Windows thanks to using an unbounded regex cache. f654493.
或许以后用得上?
The MachineIR infrastructure was enhanced with support for target-specific MIR formatting and parsing. be841f8.
没看懂。
AArch64 and X86 gained support for a new patchable-function-entry attribute to add NOPs at function entry. 4d1e23e, a8fbdc5.
开发者策略由于启用 git 而进行了部分的调整:
The developer policy was updated to reflect that now LLVM has moved to Git, the "Author" commit metadata should be used to reflect the original author, rather than needing to add a "Patch by J. Bloggs" line to the commit messages. a5230ac.
Clang commits 略
Other project commits 略
RISC-V in China
TVM 社区
风平浪静。等着过年。
Mozilla
风平浪静。
方舟开源编译器社区
风平浪静。
Rust
听说要成立 Rust 基金会了。2019年Rust势头很猛,2020年估计会更加厉害。
call for contributors
Golang
call for contributors
wasm
call for contributors
Academic
POPL20 accepted papers 出来了。看了下,基本看摘要都看不懂。
call for contributors
本周工具链岗位
软件所PLCT实验室招募编译开发实习生(C++/Java)。
实习生的工作职责:
参与 PLCT 在开源领域项目的开发。目前开放的项目岗位有:
- 玄铁910芯片相关LLVM工具链开发
- Clang/LLVM 辅助工具开发
- V8 开发
- 方舟开源编译器及 Toy Runtime 开发
- 机械臂控制算法开发
- OpenCV 开发
可以选择一个进行。
要求
- 在校研究生或大学生,C++/Java 写过实际的(开源)工程代码,
- 要求在软件所北京本部坐班,除非是LV4以上级别。
- 具备良好的沟通和团队合作意识
- 熟练 Linux Bash Scripting 和 Git 常用操作。
- 要求有基本的操作系统(OS)和编译原理的知识,
- IDE开发实习生要求掌握Eclipse插件开发的基本知识。
福利
- PLCT隶属于中国科学院软件研究所,智能软件研究中心。
- 我们的优势是提供一个专业氛围浓厚的学习环境,有资深工程师带。
- 我们的劣势是穷,基本上没什么实习工资,没有什么技术长进之外的福利。
- 电脑要自己带,
- 月薪2K起(按照每月交付内容上浮)
请感兴趣的同学,联系邢明杰老师,投递简历:
本周推荐阅读
本周推荐:《编剧的艺术》
The Art of Dramatic Writing
作者: (美)拉约什·埃格里(Lajos Egri)
译者: 高远
其实小编1号自己也不知道自己是处于什么环境下拿起了这本书、买了下来并且阅读完的。 不过总体来说觉得很幸运,这本书值得阅读,让我得以站在剧本作家的门口一瞥其创作的日常, 让我可以从欣赏的角度去反复的品味和揣度戏剧中的对白。 回想起来,实际上,从小到大并没有接触过多少的文学艺术。语文是为了考试而学习的, 高中分科选择了理科,直到工作之后才开始阅读一些文学作品,以及ACG作品。
这本书对于我个人而言最重要的是可以让我慢下来。
慢下来阅读。
慢下来思考。
慢下来反复的念出来“早已熟悉”的《罗密欧与朱丽叶》、《玩偶之家》中的对白, 感受语言的细微差异。一句话从作品中删掉,会有什么不一样的感受; 再删掉一句,或者改写了一种形式,人物的形象会不会发生变化。 这些思考,身为创作者,会在自己熟悉的领域不断的进行,或许也进入了类似自动驾驶的模式。 而一旦进入到另一个创作者的领域,这种感觉或许是新奇的、别扭的,而且是难为情的。 嘛,不过人生就是一个舞台(马克吐温说的 [1] )人生就是即兴演出,没有NG的机会, 害羞不害羞都要上台表演,事先打点草稿感觉总是好的。
那么,2020大幕拉开,你要如何设计接下来的剧本? :-)
[1] 这是个自我指涉梗,谢天谢地我们没有引发悖论:
当你不知道引用的话是谁说的,你就说是马克·吐温说的。
—— 马克·吐温