Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An application since it's not an operating system kernel.


so you're suggesting that developers of these types of applications are making a mistake by using C++ ?


New development in C++ would be a dire mistake, but you can't expect everyone to switchover on a moment's notice.

C and C++ are a liability for many reasons since memory corruption is notoriously hard to detect, localize and fix. And multi-threading is even harder, almost a dark science to get right.

For those reasons alone Rust is a no-brainer.


Rust has its downsides, too.

The big one for me is that Rust packages tend to pull in dozens or hundreds of transitive dependencies - C/C++ code tends to be monolithic, so it has fewer maintainers who could become compromised.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: