Hacker News new | past | comments | ask | show | jobs | submit login

> It does not enforce the right way of doing things nor makes it easy.

but what the author is doing here, while being "the right thing" for his own project with specific performance requirements, is absolutely not the right thing to do for the average project that has a few std::vector of 15 widgets, a dozen strings and six and a half pixmaps, or does the occasional web request.

Why not? How do you know?

As already said, it depends on the type of project. Sometimes performance is key, sometimes implementation time is. It is the old tradeoff between engineering effort spent and the value gained.

I know by shipping projects where the -O0 -fsanitize=address performance was enough for the client.

That average project would be written in JavaScript, not C++.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact