Skip to content

Commit

Permalink
Update SwiftOldDriver#211-2022.08.01.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kemchenj authored Jul 31, 2022
1 parent 50d6448 commit ed2e3a9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Reports/2022/#211-2022.08.01.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@

[@Damien](https://github.com/ZengyiMa):在 JavaScript 语言中是依靠垃圾回收 (GC) 来回收内存的,你是否会对其中的 GC 的是如何实现的感兴趣?本篇文章来自斯坦福大学博士生,作者深入的探索了在 WebKit 中是如何实现 GC 内存回收的,本文会涉及较多的底层实现和原理,给你一个独特的视角从零开始了解 WebKit 中 GC 的实现细节,对相关话题感兴趣的同学请不要错过。

### 🐢 LLVM New Pass Manager

[@kemchenj](https://kemchenj.github.io/):LLVM 13 修改了默认的 PassManager,新的 PassManager 最大的改变是将 Pass 和 Analysis 拆分开。

更加合理的架构除了让逻辑变得更加清晰,也让性能得到了提升,Rust 编译器在迁移到新的 API 之后观测到了 5-20% 的性能提升,Swift 近日也开始[迁移到新的 API](https://github.com/apple/swift/pull/60077)

如果你好奇什么样的修改可以让性能有如此大的提升,那就一定不要错过,这一系列文章详细讲解了新 API 的设计和使用方式,以及与之前 API 的对比。

- [LLVM Pass 其零:新的Pass机制](https://homura.live/2022/06/19/llvm-pass-0/)
- [LLVM Pass 其一:PassManager](https://homura.live/2022/06/26/llvm-pass-1/)
- [LLVM Pass 其二:Analysis与AnalysisManager](https://homura.live/2022/07/03/llvm-pass-2/)
- [LLVM Pass 其三:PassBuilder](https://homura.live/2022/07/10/llvm-pass-3/)
- [LLVM Pass 其四:PassManager的改进与迁移现状](https://homura.live/2022/07/17/llvm-pass-4/)


## 工具

Expand Down

0 comments on commit ed2e3a9

Please sign in to comment.