logoalt Hacker News

ghosty141 • today at 12:25 PM • 0 replies • view on HN

I don't disagree that C is here to stay, I'm saying that C is in a different position than C++ where its shortcomings don't matter as much.

If you write any daemon that uses jsonrpc for example you immediately pull in 100k+ loc of dependencies just to get off the ground (json via nlohmann, a webserver, ser/de library possible etc) while for an embedded application a lot of projects itself are smaller than just the dependencies most C++ projects desktop have.

C++ competes with Rust. C doesn't.