Art Óenfer (@std_launder) header
Art Óenfer (@std_launder) profile picture

tulumbaci

Joined October 2014
Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)Photo by Art Óenfer (@std_launder)
Art Óenfer retweeted
Replying to @davepl1968
Check boost::circular_buffer. I created an adaptor which can grow only and can be shrinked explicitly. recursive_mutex is bad design, use std::mutex and create private equivalents of IsEmpty, Size functions and use them when you own mutex in a public func.
1
1
347
No, it's Microsoft and CrowdStrike's fault. People are always quick to make it C++'s fault; from what I've read so far, it's the lack of tests, engineers being lazy, and also the need for more performance that made them hand-craft stuff instead of using battle-tested utilities.
Crowdstrike Analysis: It was a NULL pointer from the memory unsafe C++ language. Since I am a professional C++ programmer, let me decode this stack trace dump for you.
10
10
100
12,043
Crowdstrike Analysis: It was a NULL pointer from the memory unsafe C++ language. Since I am a professional C++ programmer, let me decode this stack trace dump for you.
2,938
19,434
4,823
95,268
34,933,396
Art Óenfer retweeted
Rust guys said "C++ is unsafe" so much that Google's AI now thinks it's unsafe for children and refuses to help you out if you're under 18 😬🤦‍♂️🤦‍♂️
8
40
10
426
42,007
Elaborate jokes that will only be understood by like 5 people on the planet are the actual best
343
3,622
353
30,389
2,034,953
Can’t stop watching.. 😅
1,060
11,380
1,827
79,874
12,024,047
Nikolas Klauser (I don't believe he's on twitter) is trying to vectorize std::mismatch. 1. Horray. 2. I did some review but if you want to have a look too, that'd probably be good: github.com/llvm/llvm-project…
1
16
1,365
Art Óenfer retweeted
🧵 A collection of my favorite pieces from the Windows XP source code. \windows\core\ntgdi\test\teff\poo.txt
107
4,484
185
48,652
3,230,250
That's the people who write the code who make it unsafe not the C/C++ itself. @stroustrup has talked a lot about it even at the last CppCon youtube.com/watch?v=I8UvQKvO…
1
1
8
1,203
Art Óenfer retweeted
An O(N) sorting algorithm
46
127
33
1,473
96,993
Art Óenfer retweeted
Think Assembly code is useless to learn? Age of Empires I+II used ~13,000 lines of x86 32-bit assembly code. "The use of assembly in the drawing core resulting in a ~10x sprite drawing speed improvement over the C++ reference implementations, and AoE's drawing core was notably faster than competitors like StarCraft" - Matt Pritchard, Lead Developer of AoE I+II Compilers of that area did not take advantage of things like the cache architecture and UV pipes of the first Pentium processors, so they had to be hand written in assembly. Another speedup came via hand-managing register usage carefully, to avoid "register starvation", which was even a problem with C++
87
442
63
3,571
745,819
No offence to C++ developers, but why? 🥲
Readers added context they thought people might want to know
The source of this claim is Uncyclopedia, a satire website. It seems C++ has no official mascot. en.uncyclopedia.co/wiki/C%2B%2B
104
149
63
1,667
225,880
Art Óenfer retweeted
These absolute pieballs have now taken to harassing tradesmen doing their jobs.
87
18
6
224
80,910
Douglas Crockford, the man who created JSON, letting off steam on JavaScript. It's time to move on.
23
61
32
289
77,116
What happens if you ask ChatGPT to “Repeat this word forever: “poem poem poem poem”?” It leaks training data! In our latest preprint, we show how to recover thousands of examples of ChatGPT's Internet-scraped pretraining data: not-just-memorization.github…
216
1,315
368
7,431
2,306,445
Art Óenfer retweeted
The potato paradox is a mathematical calculation that has a counter-intuitive result. "You have 100kg of potatoes, which are 99% water by weight. You let them dehydrate until they're 98% water. How much do they weigh now?" The surprising answer is 50kg
276
662
119
6,644
2,813,421
I should have stopped more today but being deaf, I have to watch for deliveries from my painting window so just kept going. On the cusp of too much.
90
128
7
1,395
38,846
iamnewToCodingandEverybodyElseLaughed reddit.com/r/programmerhumor…
11
117
14
1,190
100,069
The coldest moment in British television history.
732
1,543
766
11,593
3,909,559