logoalt Hacker News

popularonion10/01/20247 repliesview on HN

I read https://ziglang.org/learn/why_zig_rust_d_cpp/ but I’m still not clear on the endgame for this language. Is the plan to kill both Rust and Go?


Replies

AndyKelley10/01/2024

Endgame: After creating a language that encourages programmers to make robust and optimal software, using a toolchain that exemplifies these ideals by providing an order of magnitude faster development iteration speed, point this energy towards the ecosystem, with a focus on our core principle of prioritizing the needs of end users. Building upon this rich ecosystem of high quality software, create and maintain free, libre, and open-source applications that outcompete proprietary versions. I want to see the next Blender, the next Postgresql, the next Linux. This is my vision.

Mitchell's Ghostty project is a perfect example of this movement. At least, it will be when it is open sourced.

show 2 replies
kristoff_it10/01/2024

We don't have VC money so the only endgame is to gift Zig to people who happen to find it an effective tool, so that they can make more software you can love.

rgrmrts10/01/2024

No, the plan is to build a simple general purpose language. Lots of folks already enjoy using Zig, and not every language has to be in direct competition with others.

lenkite10/02/2024

I think Zig is definitely an alternative for programmers who are too dumb to grok idiomatic Rust - sadly I am one of them. Go is more meant for middleware and services programming and is a simple, consistent language that won't go away as it has now been enterprise adopted.

skywhopper10/01/2024

Why would it need to kill anything? It’s enough to be useful, imo.

show 1 reply
ksec10/02/2024

I don't remember Java ever had an endgame during the late 90s or early 00s. There were certainly a lot of ambitious. But on the whole we know or assumed about its ( JVM ) limitations.

There were also languages before or in between. But I dont record any one of them ever had an End Game plan. This phenomenon is entirely new and doesn't exist until certain language's supporter came out. And it has now somewhat popularised by it.

zozbot23410/02/2024

I just asked my local AI chatbot, and they said that this is the endgame for Zig:

  Congratulation !!
  A.D.2111
  All bases of Rust were destroyed.
  It seems to be peaceful.
  But it is incorrect.
  Rust is still alive. Zig must fight against Rust again
  And down with them completely!
  Good luck.