logoalt Hacker News

herr_shieldtoday at 8:40 AM1 replyview on HN

I fully agree. In my personal project, I ended up using the STL to get off the ground, but in the end I replaced pretty much everything with custom-written code.

Once you get rid of the STL, compile times get so much better. With modern c++23 features, templates actually become really convenient to write, and at the core there is a really useful and pleasant to use language.

I try to avoid c++ libraries and instead rely on c-style APIs. Usually the c++ style libraries force you into using the STL, which comes with a heavy tax on compile times, without much benefit in comfort of use.


Replies

GnarfGnarftoday at 10:24 AM

What, you rewrote std::deque? Whew!

show 1 reply