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

Raw pointers in rust are a pain to work with. This rust code is significantly less verbose in C++:

https://play.rust-lang.org/?version=stable&mode=debug&editio...

Rust purposely handicaps ergonomics, even when it wouldn't come at the expense of safety. This is just one example. Rust also doesn't have function overloading, default arguments, named parameters, anonymous structs, unwrap sugar (like !! in kotlin), etc. Rust's aversion to user choice precisely what is hampering its adoption. Docker and kubernetes are written in go. Unreal engine, high frequency trading systems and most of google is written in C++. What significant thing has been written in rust? it's forever going to be a hobbyist language competing on stackoverflow surveys instead of actual large-scale applications. Nobody with any actual money on the line wants to take the hit in productivity to switch to rust, at most it's used for a small part of a larger project written in another language. By the end of the decade there's going to be more things written in carbon than in rust, and that sucks because it was completely preventable.



One has to start somewhere,

https://security.googleblog.com/2022/12/memory-safe-language...

https://twitter.com/dwizzzlemsft/status/1578532292662005760?...

https://devclass.com/2022/06/21/rust-applications-previewed-...

https://aws.amazon.com/fargate/

https://krustlet.dev/

https://github.com/EmbarkStudios/rust-ecosystem

https://research.activision.com/publications/2021/09/the-rus...

Carbon is still an AST interpreter with half baked language design, and it remains to be seen how many of the features are to be designed.

From Carbon, Val, Cpp2, Circle, the last one is the only one that has a chance to actually provide a proper migration path from classical C++.

If I would have to put money in any of those wannabe C++ replacements, Circle would be it.




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

Search: