Live data from Hacker News

Zig – io_uring and Grand Central Dispatch std.Io implementations landed

ziglang.org

21–30 of 315 posts

Re: Zig – io_uring and Grand Central Dispatch std.Io implementations landed

#21
post #2

[flagged]

Instead of debating for years (like other languages), zig just tries things out. Worst case you can always rollback changes. IMO best APIs and designs are those that are battle tested by end users, not won in an argument war during committee meetings. This makes zig unique. It's fun to use and it stays fresh. You can always just stay on older version of zig. But if you choose to update to newer version, you get new t…

Other languages debate for years, because they have a customer base with important applications into production that don't find funny that their code is broken with experiments.

Zig is years away to become industry relevant, if at all, of course they can experiment all they like.

Re: Zig – io_uring and Grand Central Dispatch std.Io implementations landed

#23

Earlier quoted context omitted.

I have my doubts on Jai, besides being built towards game development, from what I read/watched about it, it has 2 or 3 meta programming capabilities, like comptime, macros, etc it feels too much of the same, also Jai is not built towards correctness or safety, John mentality is that he knows what he is doing, so he doesn’t need those guardrails and he wants instead expressiveness. Also Jai is like C++ in complexity,…

>Also Jai is like C++ in complexity, while Zig is similar to C, very simple language. And most importantly, Zig is aiming at being a C++ replacement with the simplicity of C, it is not trying to replace C.

I think you meant to say Jai, not Zig.

Re: Zig – io_uring and Grand Central Dispatch std.Io implementations landed

#24
post #21

Earlier quoted context omitted.

Instead of debating for years (like other languages), zig just tries things out. Worst case you can always rollback changes. IMO best APIs and designs are those that are battle tested by end users, not won in an argument war during committee meetings. This makes zig unique. It's fun to use and it stays fresh. You can always just stay on older version of zig. But if you choose to update to newer version, you get new t…

Other languages debate for years, because they have a customer base with important applications into production that don't find funny that their code is broken with experiments. Zig is years away to become industry relevant, if at all, of course they can experiment all they like.

Obviously, that comes with the language being in beta. If you don't want things broken, use a complete language.

Re: Zig – io_uring and Grand Central Dispatch std.Io implementations landed

#25
post #20

Earlier quoted context omitted.

I have my doubts on Jai, besides being built towards game development, from what I read/watched about it, it has 2 or 3 meta programming capabilities, like comptime, macros, etc it feels too much of the same, also Jai is not built towards correctness or safety, John mentality is that he knows what he is doing, so he doesn’t need those guardrails and he wants instead expressiveness. Also Jai is like C++ in complexity,…

Remember that it was Jai that inspired all these new languages. When you talk about the capabilities like comptime, that's all from Jai and why John no longer does public presentations(as people keep stealing his unfinished ideas). Your comment about gamedev focus makes no sense as that it the most hardcore segment of all the programming there is. So if a language is good for gamedev, it's good for everything else -…

> why John no longer does public presentations(as people keep stealing his unfinished ideas)

That's your opinion or you have a source for that?

Re: Zig – io_uring and Grand Central Dispatch std.Io implementations landed

#27
post #2

[flagged]

Instead of debating for years (like other languages), zig just tries things out. Worst case you can always rollback changes. IMO best APIs and designs are those that are battle tested by end users, not won in an argument war during committee meetings. This makes zig unique. It's fun to use and it stays fresh. You can always just stay on older version of zig. But if you choose to update to newer version, you get new t…

This is a great point, and it's actually something I really enjoy that the JVM and Java do nowadays by namespacing the new experimental APIs that you test from release to release and then it's stabilized like that, and becomes broadly available.

Re: Zig – io_uring and Grand Central Dispatch std.Io implementations landed

#29
post #18

Earlier quoted context omitted.

>Also Jai is like C++ in complexity, while Zig is similar to C, very simple language. And most importantly, Zig is aiming at being a C++ replacement with the simplicity of C, it is not trying to replace C.

Good luck with that, it is basically Modula-2 with C like syntax, and we aren't even getting into the whole ecosystem that it is missing on. Any C++ or C replacement will need to win the earths of mainstream OS and game console vendors, otherwise it will remain yet another wannabe candidate. Those have already their own languages, alongside their own C and C++ compilers, and are only now starting to warm up to Rust.…

So no one should even try because they will never win over all of the C/C++ crowd so are doomed to fail and forever to be a wannabe? I think Andrew has gone about things in a good way, going back to C and exploiting hindsight, not trying to offer everything as quickly as possible. Extend C but keep C interoperability and do both better than C++ instead of trying to be the next big thing and he goes about it in a very deliberate and calculated way. He may not succeed, but the effort has given us a great deal.

Re: Zig – io_uring and Grand Central Dispatch std.Io implementations landed

#30
post #2

[flagged]

There are high profile apps written in Zig, Bun (bought by Anthropic) and Ghostty also Uber use it. What apps are written in Jai or Odin.

odin - jangafx’s embergen[1]

jai - thekla’s new game, announced but not yet released —- order of the sinking star[2]

[1]: https://jangafx.com/software/embergen

[2]: https://en.wikipedia.org/wiki/Order_of_the_Sinking_Star

Post reply on HN