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

Zig supports zero-effort C binding by reusing existing C headers instead of wrapping them^. The only other language known to me having such feature while not actually being a superset of C is Terra†. I feel like we are still several light years away from the Holy Grail of programming languages, which would retain full compatibility while also being extremely productive. Walter Bright (the creator of DLang) once stated that the least age to develop a feasible programming language is 40-ish+, so hopefully generation raised in the world of modern computing will manage to find the ultimate syntactic solution.

^) https://ziglang.org/#Integration-with-C-libraries-without-FF...

†) http://terralang.org/

EDIT: replaced nasty star parsed as markup with a caret. Sorry.



Not sure the age of the original author is very relevant. GvR was 35 when he started work on Python. Chris Lattner was 31 with Swift, Brendan Eich was 33 with JS. These are some of the most used languages today. I’d say it’s more a matter of being in the right place at the right time to serve a particular use case.




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

Search: