Hacker Newsnew | past | comments | ask | show | jobs | submit | AndyKelley's favoriteslogin

I've been playing with Zig. I realize it is not at all ready for big companies, big projects, but it is a lot easier for me than Rust. I am learning SPARK 2014 for my needs instead of Rust. Rust has gained a lot of traction over the past year.

I know that is superficial, but although Rust has many great features it looks too much like C++ for me. All those :: and template<likes> are making it look too busy for me. Also type inference looks a bit too powerful - it may make things easier to write, but harder to read.

Personally I cheer for Zig and think that it has the biggest potential to really become a C replacement for me. Other then that I hope that Myrddin [0] will see stable development till 1.0 and beyond. Myrddin has my vote, because it uses QBE [1] compiler backend instead of LLVM. Now that I think about it it would be cool to see Zig on QBE. I just don't think that the current LLVM monoculture is healthy in a long run.

Maybe I'm weird, but I would like to imagine a language like Zig compiled also to DEX for Android and CIL for Windows. Then it could have mostly free platform-native calls. So one could really write truly first-class cross-platform apps.

[0] https://myrlang.org/

[1] https://c9x.me/compile/


Another programming language. God! I have no idea - what's happening to the world?

Are people not skilled enough to propose or send commits to an existing or alternative programming language?

There is Rust, Go, Julia, Clojure, and many other...

What is the primary reason to create a new programming language?


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

Search: