Hacker News new | past | comments | ask | show | jobs | submit login

Rust reduces productivity by being less powerful. Just look at the amount of copy and pasting/diy name mangling in the implementations of Axum and serde that are used to overcome the lack of overloading and variadics. The horrible interface of polars, the sheer verbosity of bevy. Macros galore, the dozen levels of indirection you’re forced to add by a supposedly zero cost borrow checker. No placement new, no Constexpr, no specialization, nothing. You can write c++ like rust, you can’t write rust like c++. if it wasn’t for backwards compatibility, c++ would have added almost every single selling point from rust like pattern matching and procedural macros, the only unique thing about rust would be the decisions it forces onto you and not the ones it allows. And that would truly show that it has nothing to offer. In fact carbon is that very language, a c++ with the features of rust that isn’t going to be held back by backwards compatibility. We’ll see in a decade which one has better adoption.



Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: