Top all-time · #8709
Philip Tretter
Personal blog · artificial-mind.net/blogprogramminggames
Philip Tretter writes artificial::mind blog, a personal blog at artificial-mind.net about programming and games. Since 2020, 9 different Hacker News readers have linked it 15 times, most often “Measuring Std:Unordered_map Badness”. The last post was in 2021, but the archive is still widely read.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
Philip Tretter's blog is linked for a post on building static registries through static initialization in C++. One commenter calls it a good overview; another comment on C/C++ compile times does not mention the blog.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Articles about Graphics, C++, Optimization, Game Development, Programming Languages, and more. Personal blog of Philip Tretter writing under the alias of Artificial Mind.
Most-linked posts?
- Measuring Std:Unordered_map Badness4 people · 4 mentions · first linked 2021-10-23
- Overloading by Return Type in C++2 people · 2 mentions · first linked 2020-10-11
- C++ Compile Health Watchdog2 people · 2 mentions · first linked 2020-04-24
- Moves in Returns2 people · 2 mentions · first linked 2021-10-23
What Hacker News says?
I think the range of compilation times for C and different styles of C++ is so huge that this question cannot be answered without going into a lot of details about how the C or C++ project is structured. You can compile hundreds-of-thousands of lines of "user-side" C++ code in a few seconds, or in a few hours. The range is much smaller in most C projects, but can also differ by orders of magnitude. In short, splitti…
Comment linking /projects/compile-health/
on “How to speed up the Rust compiler in 2020”Submitted Overloading by Return Type in C++ as a story · 92 points
HN discussionA more useful application of this same idea ("you can do stuff during static initialization") is for building a static registry. https://artificial-mind.net/blog/2020/10/17/static-registrat... gives a good overview.
Comment linking /blog/2020/10/17/static-registration-macro
on “Who Needs Main() Anyway?”Submitted C++ Compile Health Watchdog as a story · 3 points
HN discussionSubmitted Measuring Std:Unordered_map Badness as a story · 3 points
HN discussionSubmitted Measuring Std:Unordered_map Badness as a story · 3 points
HN discussionSubmitted Overloading by Return Type in C++ as a story · 3 points
HN discussionSubmitted Measuring C++ std:unordered_map badness as a story · 2 points
HN discussionSubmitted Measuring Std:Unordered_map Badness as a story · 2 points
HN discussionSubmitted Optimization Without Inlining as a story · 2 points
HN discussionSubmitted Approximating 'Constexpr For' as a story · 1 points
HN discussionSubmitted C++ Moves in Returns as a story · 1 points
HN discussionSubmitted Moves in Returns as a story · 1 points
HN discussionSubmitted Destructuring Assertions as a story · 1 points
HN discussionSubmitted C++ API Design – Dont_deduce as a story · 1 points
HN discussion