Hacker News new | ask | show | jobs
by mvuksano 1322 days ago
I wondered why C/C++ is not appreciated more by engineers. I hear a lot of comments along the lines "rust is safer". While I get it is safer in some aspects a lot of times I've heard people end up writing unsafe rust anyways. Then the next argument goes well you should write as little as possible of that unsafe rust. Fact of life is that you will need to write unsafe rust. Actually unsafe INSERT_ANY_LANGUAGE_HERE. My point is as an engineer you will need to learn how computer works. And I don't mean just at a surface level but really deep. So once you have that knowledge why not just use it?
1 comments

I agree for C. It's simple, it's fast, it's portable, and it's a fantastic gateway into ASM. To your point, I believe learning it is an important part of foundational computer science - and for that reason I don't think it will ever go away completely.

C++ on the other hand...