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

> Both Hare and Zig fix "C's Biggest Mistake": https://www.digitalmars.com/articles/C-biggest-mistake.html.

I think any new language (including Rust, Go, Nim, etc) that wants to displace C should not be trying to fix C's biggest mistake, it should be trying to replicate C's biggest success: simplicity.

Hence the growing popularity of Go as a C replacement. I look at Zig and Nim, and they look like viable replacements too.

Time will tell.



>I think any new language (including Rust, Go, Nim, etc) that wants to displace C should not be trying to fix C's biggest mistake

Every new language should fix every older mistake that can be done "for free", without growing the language too much or complicating things. C certainly has plenty of those.


> Hence the growing popularity of Go as a C replacement.

Fun fact: I've seen more Python projects being rewritten in Go than C projects being rewritten in Go.

Is Go a Python replacement?


Could be both a C and a Python replacement?

Go seems to present simplicity as a selling point, so looks to be a natural next step for both C and Python programmers.


C sometimes appears to be simple, but there's a lot of complexity in the language. It's just well-hidden until it bites you.


Nim is many good things but I don't think simple is one of them.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: