Amethyst Studio
LLVM Pass 剖析 - DCE
剖析一下LLVM中DCE Pass的实现
2192 words
|
11 minutes
Cover Image of the Post
C++消除warning
2023-08-21
我们写的程序出现的warning可能无法避免,此时,我们可以在代码中加入一些内容消除这些warning。
422 words
|
2 minutes
Cover Image of the Post
C++模板实现MatchIf
利用C++模板技巧,实现matchif语句。
511 words
|
3 minutes
Cover Image of the Post
MBTI的另一种用法
MBTI仅仅是一种玄学分析吗?
1324 words
|
7 minutes
Cover Image of the Post
C++标准库源码剖析 - valarray
C++标准库中的valarray是一个支持运算符操作的数组,这里来剖析一下它的源码
2541 words
|
13 minutes
Cover Image of the Post
分享一些学英语的经验
来源于我的知乎回答:大量阅读英文是否是学英语的好方法
1442 words
|
7 minutes
Cover Image of the Post
C++11上的简单format函数
2023-06-12
C++20引入了std::format,但是如果我们不得不在低版本的C++上工作,而且又无法使用外部库的话,那不如自己来写一个吧。
841 words
|
4 minutes
Cover Image of the Post
近距离观察fma对精度的提升
fma即融合乘加,也就是对三个数,前两个数先乘,再与第三个数相加。很多人不理解,为什么fma与普通的先乘后加有精度上的差异,这里做一个细致的观察。
2006 words
|
10 minutes
Cover Image of the Post