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

> Unnecessarily over-complicated.

Most of the complexity comes from the fact that C++ trivially supports consuming most C code, but with its own lifetime model on top, and that it also offers great flexibility.

Of course things become simpler when you ditch C source compat and can just declare "this variable will not be aliased by anyone else"

AFAIK C++'s constexpr and TMP is less limited than Rust's is.



Also, with all its warts, I find easier to stay within C++ itself, instead of two macro systems, that additionally depend on an external crate.




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

Search: