Person and coder. C++, Rust, Java, C. I work with Minecraft. I love mountains. I didn't eat a big red candle.

An interesting video on octtree-based irradiance caching by frozein. It uses screen space size to adjust precision and is able to keep light info across adjustments. Denoising is done by picking lower LODs, which accumulate samples from subnodes. piped.video/nc9-v_5cYF4
1
247
Alexander Torstling retweeted
AI companies, basically:
102
2,840
19,216
438,848
bugs.openjdk.org/browse/JDK-… "Debugger very slow during stepping" has been solved and released (in JDK 27) after 16 years!
3
157
Alexander Torstling retweeted
if I was Dumbledore I would've hid the philosopher's stone in the aws console
94
439
5,831
204,829
Off by one errors is the bane of math, logic and programming. Did you for instance know that the earth rotates about 366 times around its own axis in a year? The rotation of the earth around the sun accounts for one apparent rotation being deducted, giving you 365 days.
One of the most hilarious and widespread cases of humans failing to understand the fence-post problem is that if you count out loud from 1 to 10 in 1s intervals, that's actually only 9 seconds. If you want 10 seconds you need to start from 0 or go to 11.
3
243
Alexander Torstling retweeted
A C++ map with string keys doesn’t need a temporary std::string for every lookup. A transparent comparator lets you search using string_view directly. useful when your parser already has a view into the input.
3
8
77
4,526
Alexander Torstling retweeted
POV: Software Engineering in 2026 be like 😭
240
1,989
16,915
1,307,462
Alexander Torstling retweeted
god is dead and the most efficient way to pack 17 squares into a square killed him
129
3,986
38,560
3,223,441
Alexander Torstling retweeted
175
1,161
22,146
241,103
I'm not liking the nomenclature of std::expected. First off, calling it Result or Either would be more intuitive since it signals having two possible results. "expected" signals one. Secondly, "has_value()" is unclear. Then "error()"; shouldn't that be "unexpected"? Inconsistent.
196
wat?
struct Widget; void cleanup(Widget* p) { delete p; // compiles. no warning. } This calls delete on a pointer to an incomplete type. The destructor never runs. The memory may not be freed correctly This has been valid C++ for decades
237
A command for comparing your rebased feature branch with the one on the remote: git range-diff $(git merge-base HEAD origin/main) @{u} HEAD
2
169
Alexander Torstling retweeted
77
604
10,936
274,262
Hello! Version 1.0.10 of Syster is now available, fixing a bug with checkpoint restore and also potentially giving you a bonus item when completing the game :) play.google.com/store/apps/d… apps.apple.com/us/app/syster…
1
2
244
How to win in engagement: 1. Post controversial opinion or incorrect statement 2. Agree with all the pushback 🥳🤔 3. ??? 4. Profit? 🤔
1
3
260
I'm a bit confused seeing so many posts about std::hive without any comparison to std::deque or mentions of plf::colony
1
196
Alexander Torstling retweeted
Oof. See, this is why I’m not worried about “pure” LLMs in the long run. There’s new evidence that the human brain doesn’t use natural language centers for logical reasoning at all. Study just came out where stroke patients with complete aphasia (near-chance on written comprehension) performed….great on pure logic tasks! Even in healthy adults, fMRI showed language area activation didn’t scale with logical difficulty. tl;dr words are too ambiguous for formal thought and our brain doesn’t use language symbols for logic
324
540
5,685
292,309
Alexander Torstling retweeted
idk why but i find it so funny that the euro banknotes featured FICTIONAL bridges so as to not cause conflict between member states but then a dutch town decided to just build all of the bridges to claim them??!?
242
3,218
75,091
1,818,289
Alexander Torstling retweeted
movement in non-euclidean quaternionic space
88
490
6,202
141,039