r/cpp • u/konanTheBarbar • Jul 17 '20
A day in the life of a C++ compiler developer
https://twitter.com/TartanLlama/status/128381653777898291467
u/Galqa Jul 17 '20
I love Sy, they are truly a gem of the cpp community.
27
Jul 17 '20
Agree 100%
6
u/theresasnakeinmysuit Jul 17 '20
Hi Olafur! I love your talks and your cppcast episode. Thanks a lot for all the brilliant content :)
3
0
Jul 17 '20
[deleted]
14
u/_djsavvy_ Jul 17 '20
Actually, their twitter bio seems to indicate otherwise.
0
Jul 17 '20
[deleted]
0
Jul 17 '20
[deleted]
7
u/STL MSVC STL Dev Jul 18 '20
I've banned that person. Thanks for attempting to use reason, it's much appreciated.
(My usual rule is to avoid moderating anything involving Microsoft or its employees, but I don't ignore egregious rule violations, and this is one of them.)
0
0
Jul 18 '20
[deleted]
12
u/dodheim Jul 18 '20
Just a heads up – whatever the conflicted opinions about the other person here (which don't really seem to be that conflicted), no one thinks you're anything but fucking obnoxious.
0
Jul 17 '20
[deleted]
2
u/AutoModerator Jul 17 '20
Your comment has been automatically removed because it appears to contain disrespectful profanity or racial slurs. Please be respectful of your fellow redditors.
If you think your post should not have been removed, please message the moderators and we'll review it.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
8
u/lazyear Jul 17 '20
I'm now imagining a compiler where all errors are reported in Phoenix Wright style...
7
12
Jul 17 '20
I didn't know Sy is a compiler developer, which compiler?
20
u/reflexpr-sarah- Jul 17 '20
msvc would be my guess, since they work at microsoft
3
Jul 17 '20 edited Jul 17 '20
I had a look at their* website and can't find anything to indicate this?
8
u/standard_revolution Jul 17 '20
his
Just for your heads-up: Sy's twitter Bio indicates that they want to be refereed by they/them :)
12
4
0
5
u/RotsiserMho C++20 Desktop app developer Jul 17 '20
What an entertaining way to explain something incredibly dry. Beautiful.
11
u/miki151 gamedev Jul 17 '20
I thought it's pretty obvious that lambdas can access global variables without capturing? The clip is funny, but it makes it seem like a very obscure feature.
-33
58
u/wheypoint Ö Jul 17 '20
x didnt need to be constexpr and this isnt about odr use:
a lambda can always use global variables without capture. remove the constexpr and it still works.
x should have been a local to demonstrate the constexpr odr exemption