Chris Parsons
chrismdp.com · Personal blog · on HN since 2012
Chris Parsons, a game and software developer, writes about code design, live code reload and leaving C++ for faster development.
What HN saysHN links his live code reload guide for games and his C++ post, which prompted discussion of C++ compile times.
15HN people shared it
4linked it in comments
53stories submitted
322story points
3 months agolast shared
2012people per year2026
Most-shared posts
- 1How to add live code reload to your game3 people · 6 points · first shared 2016 · discussion on HN
- 2How I doubled the speed of my game by giving up on C++3 people · 5 points · first shared 2015 · 5 comments on HN
- 3Your framework is a liability2 people · 9 points · first shared 2012 · discussion on HN
- 4Extreme YAGNI2 people · 3 points · first shared 2016 · discussion on HN
- 5OStatus: like Twitter, but open1 people · 185 points · first shared 2012 · 124 comments on HN
- 6Extreme isolation in web apps1 people · 19 points · first shared 2013 · 6 comments on HN
- 7Your code is a liability1 people · 8 points · first shared 2012 · discussion on HN
- 8The Slow and Dangerous Loss of Self1 people · 7 points · first shared 2025 · 3 comments on HN
- 9Why video game coders don't use TDD, and why it matters1 people · 7 points · first shared 2015 · discussion on HN
- 10"Project velocity is a useless metric." Discuss.1 people · 4 points · first shared 2013 · 1 comments on HN
- 11Why BDD works solo, and why that matters for everyone1 people · 3 points · first shared 2014 · discussion on HN
- 12Who Wants a Browser?1 people · 3 points · first shared 2025 · discussion on HN
- 13Extreme isolation 3: coding a CRUD app (with full example)1 people · 3 points · first shared 2013 · discussion on HN
- 14BDD Kickstart is dead. Long live...1 people · 3 points · first shared 2013 · discussion on HN
- 155 ways I screwed up Sol Trader's launch: a post-mortem1 people · 3 points · first shared 2016 · discussion on HN
What HN people wrote when they linked it
chrismdp · 2013-09-19
It completely depends how you use it. There's so much misuse of it out there I can understand why people hate it so much. But done right it's an extremely valuable collaboration tool.
I'd recommend the Cucumber Book if you want to read about how to use it well:
http://pragprog.com/book/hwcuc/the-cucumber-book
I've also blogged a lot about how to use Cucumber well here:
http://chrismdp.com/tag/cucumber
dhorthy · 2025-04-17
interesting - I think I have to side with the Boundary (YC W23) folks on this one - if you want bleeding edge performance, you need to be able to open the box and hack on the insides.
I don't agree fully with this article https://www.chrismdp.com/beyond-prompting/ but the comparison of punchards -> assembly -> c -> higher langs is quite useful here
I just don't know when we'll get the right abstraction - i don't think langchain or dspy are the "C programming language" of AI yet (they could get there!).
For now I'll stick to my "close to the metal" workbench where I can inspect tokens, reorder special tokens like system/user/JSON, and dynamically keep up with the idiosyncrasies of new models without being locked up waiting for library support.
bbmario · 2019-07-25
dottrap · 2016-01-09
C++ compile times are a huge problem for large projects (and painful even on medium projects). The Go designers joke that Go was conceived while waiting for a C++ compile. (Google engineers I know tell me their full C++ compile times can be measured in hours.) AAA game devs I've met tell me their C++ project times are usually 30 min to an hour.
On even the medium size projects I work on, the compile time difference between C and C++ can be magnitudes.
C++ encourages templates, which are typically included by everything, which in turn causes lots of files to need to be recompiled.
Both C/C++ have fragile ABIs so if you have built libraries and you change their memory layout, you need to recompile world. And in some cases, even if your library is internal and not external to your project, a bad build system or a bug can fail to detect this kind of change leading to subtle bugs/crashes, which then in turn encourages developers to do full rebuilds periodically.
It is hard to find real world data converting C++ to C to measure compile times because nobody wants to invest in rewrites like this. However, I am also among those people that have shifted back to pure C from C++ and seen compile times improve by magnitudes. I sometimes work on slow devices, like the Raspberry Pi, and this really magnifies the difference. (On this, the C parts can take 10-20 minutes, and the C++ parts are measured in many hours.)
This one person recently wrote about he switched back to C from C++.…