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

> What do you think C would need in order to reach the user experience of those languages?

- A better, cross platform build system.

- Generics

- Ergonomic compile time metaprogramming (zig's comptime, rust's macro system, etc)

- Closures - or at least lambdas.

- The ability to return multiple values - eg tuples

- Sum types.

- A built in way to return an error | value from a function

- Defer / Rust's Drop

C is anaemic.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: