Hacker Newsnew | past | comments | ask | show | jobs | submit | ghplreq's commentslogin

Rust needs to focus in systems programming domain as top priority and get better at working with C++, or it risks staying a niche language. Without strong support for existing C++ code, it could eventually be passed up by other languages with better C++ integration — even if those end up being technically worse, like Carbon,Zig or something similar.


Rust isn't a niche language by a long shot anymore.

CXX[0] is fine. Personally, I just always use a C ABI to communicate between the two. I've had to do it for every other language anyway. Languages that have native C++ interop are significantly more rare than ones that don't. Most languages have some way of talking to C, though.

[0]: https://cxx.rs/


C++ interop still far from perfect , check out ClickHouse blog: https://clickhouse.com/blog/rust


I don't agree that Zig is (on paper, it's still alpha) technically worse, it just has radically different goals for a systems lang than Rust


In a world where we have a constant stream of memory unsafety CVEs, Rust seems superior.

You might not be worried about these and that's okay but it's a real measurable factor by which you can evaluate languages.


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

Search: