logoalt Hacker News

lomasetoday at 3:52 AM5 repliesview on HN

That is why most of the world has not been using c/c++ for decades.


Replies

scuff3dtoday at 5:35 AM

I'm not on the Rust bandwagon, but statements like this make absolutely no sense.

A lot of software was written in C and C++ because they were the only option for decades. If you couldn't afford garbage collection and needed direct control of the hardware there wasn't much of a choice. Had their been "safer" alternatives, it's possible those would have been used instead.

It's only been in the last few years we've seen languages emerge that could actually replace C/C++ with projects like Rust, Zig and Odin. I'm not saying they will, or they should, but just that we actually have alternatives now.

show 2 replies
vardumptoday at 4:06 AM

That's not true when the topic is operating system kernels.

show 1 reply
bogantechtoday at 3:55 AM

Most software development these days is JS/Typescript slop, popular doesn't equal better

show 1 reply
lawntoday at 7:05 AM

People didn't use seatbelts before seatbelts were invented.

show 1 reply
wat10000today at 4:14 AM

Most of the world uses other languages because they’re easier, not because they’re safer.

show 1 reply