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

They really want to kill C right?

If you want a better C, do yourself a favor and use D

Same syntax, more secure and with modules



This kind of comment is not helpful at all, I use Rust today however, yet I cannot sometimes deny, it's better to use C depending on the target and restrictions by hardware compilers.

Every language has downsides/upsides and time. There is a nice quote by Titus Winters: “Engineering is programming integrated over time”[0], this helped me a lot in learning that context matter for tools/languages/frameworks, and you can learn with their mistakes.

[0]: https://youtu.be/tISy7EJQPzI


Which change in particular do you dislike?


It's not about things i dislike, it's subjective, it is about their priority and the feature they think are needed

I'm still waiting for tagged unions, tuple and pattern matching

auto and #embed is nice to have though


I don't think we have any proposals for language-supported tagged unions (have to do them yourself), tuples (write your own macro/struct), or pattern matching (lole).

You'll have a hard time pushing for those: C will likely never get them in those forms. At least, not for another 10-20 years, since there's no existing C compiler that implements any of those things yet.


There you highlighted what i meant by they want C dead


I like to imagine that their goal is similar, yet less ambitious: to keep C alive only for those who really need it.




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

Search: