Hacker Newsnew | past | comments | ask | show | jobs | submit | templix's commentslogin

I'm 100% hooked on Zig, don't really wanna use another language anymore

Reading other people's Zig code is usually a joy, as is writing it


Wasmer rubs me the wrong way for some reason

Staying clear


The Zig article specifically says bug fix bounties are different.


> or needed maintainer time that wasn’t there

That's my experience with bounties: someone does the job because they get paid, not because they have a particular interest in the issue, and then they instantly move on, leaving the submission to rot.

I agree with ZSF here.


I ditched Rust a year ago in favor of Zig and have not regretted since

Number of memory bugs in several fairly huge projects: 0

Zig is way more maintainable, leads to less code which translates to fewer bugs

How about that?


Fun fact: There's been a number of spectacular memory safety bugs in Rust programs where you have no option but to go unsafe. Which, in real systems programming, is quite often...

Zig is vastly safer than Rust unsafe. That's worth noting.

So while Rust's memory safety features is something I love, I absolutely hate the Rust community pushing mem safety as a panacea.

In my line of work, as an embedded programmer, Zig is vastly more appropriate.

Rust and Zig can co-exist just fine.


> maybe you are just bad as a programmer (nothing wrong with that)

This was actually my impression after reading the post. A bad programmer making a lot of ill-informed complaints. Zig is an unfinished low-level language. Not suitable for bad programmers.


This is a pretty bullshit argument. People can have a really easy or hard time learning a language, depending on said language. It can be too far from what you know, or too similar but just different enough.

Also it's a log of personal experience and not titled "an objective criticism of Zig". I've been interested in Zig a little for a while and this was awesome to read. It hasn't made my interest any smaller or bigger, it's simply a description of one beginner's journey, and if the Zig people are smart they will analyze it and then decide which points are valid and which ones can be ignored. Neither ignoring everything nor accepting everything would probably be useful.


Seems like the author isn't used to low-level programming languages. Zig is a great C replacement.


Careful now. SVG uses a lot of XML features that goes beyond "basic XML parsing".

To define a subset of SVG doesn't imply that simplifying the XML part is going to be easy.


> Careful now. SVG uses a lot of XML features that goes beyond "basic XML parsing".

Could you name the feature to which you are referring specifically?

> XML part is going to be easy.

What part of parsing XML is hard? My premise is that all XML parsing is easy.


> But to make a simple XML parser those are optional bits.

Yes, but SVG requires a lot of those optional bits... A parser complex enough to deal with all the nooks and corners of SVG is not simple at all.


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

Search: