Иван Афанасьев (@ivafanas) profile picture

Математик, C++

Новосибирск
Joined February 2012
Photo by Иван Афанасьев (@ivafanas)Photo by Иван Афанасьев (@ivafanas)Photo by Иван Афанасьев (@ivafanas)Photo by Иван Афанасьев (@ivafanas)Photo by Иван Афанасьев (@ivafanas)Photo by Иван Афанасьев (@ivafanas)Photo by Иван Афанасьев (@ivafanas)
Кажется, мы все немного подзабыли, что в любой сложной ситуации важно оставаться Человеком.
1
1
Иван Афанасьев retweeted
I wrote a new data structure for binary search that is up to 15x faster than std::lower_bound. en.algorithmica.org/hpc/data…
4
70
7
462
Иван Афанасьев retweeted
Kid just asked me whether there was a negative zero. I knew this day would come but I wasn't quite ready to have The Talk about IEEE 754 quite yet.
77
641
31
6,444
Иван Афанасьев retweeted
I needed to help my students visualize struct layout and padding bytes, so I created a C++20 pretty printer (see picture). Available below, use/improve it as you like! gcc.godbolt.org/z/aG5dedPbn #cpp #cpp20 #metaprogramming #reflection
7
62
6
367
Иван Афанасьев retweeted
We are excited to announce that our CMake book is officially going open source! You can access it here: ow.ly/5hmM50EGEgC #Cmake #Opensource #developers
51
2
103
Иван Афанасьев retweeted
Thinkin’ about this pony working up the courage to jump over a tiny step
665
18,518
4,573
107,083
I'm going to present a long story about short commit to libc++ which makes to_string up to 20x times faster #cpprussia. It covers improvements from high level optimizations to assembler tuning. Special thanks to @tsafin who agreed to moderate the talk. cppconf-moscow.ru/2020/msk/t…
4
Иван Афанасьев retweeted
Measure your success by your ability to inspire and enable others.
4
13
1
68
Иван Афанасьев retweeted
Орден Мрачного Хлебальника (ещё разок, теперь акварельный) #kosmonozhka
3
39
7
363
Иван Афанасьев retweeted
Reduced compile times when using fmt/format.h and some common API functions from 0.6s to 0.3s with the default settings (-O0) or from 2.3s to 0.3s with -O2. Thanks GitHub user alex3d for the idea. github.com/fmtlib/fmt/issues… #programming
1
1
1
42
Иван Афанасьев retweeted
Немногие знают, что дифф на -5 строк в Питере ощущается как дифф на -40 строк в Сибири, а всё из-за влажности.
2
31
154
Иван Афанасьев retweeted
Cursed code “abcde” + “´” and results string size. In C++, Python and Swift C++ wandbox.org/permlink/NSyZffZ… Python wandbox.org/permlink/plRKc5P… Swift wandbox.org/permlink/F3IPnr6… #Programming
2
14
3
44
Иван Афанасьев retweeted
compilers (multipost)
1
6
11
Иван Афанасьев retweeted
nice visualization of some traffic problems I was thinking about some days ago (not my viz), maybe something for @simongerman600
69
3,193
532
7,274