Better HN
topnewbestaskshowjobs
Log inSign up

templix

27 karma · joined Dec 20, 2021 (4y ago) · 14 submissions

Submissions

comment 2y ago · link · parent

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

comment 3y ago · link · parent

Wasmer rubs me the wrong way for some reason

Staying clear

comment 3y ago · link · parent

The Zig article specifically says bug fix bounties are different.

comment 3y ago · link · parent

> 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.

comment 3y ago · link · parent

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?

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

> 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.

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

> 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.

comment 4y ago · link · parent

You enjoy writing Lisp, but somehow find parenthesis way too confusing when editing manually? That's pretty hilarious.

If you take the expression above and format it in any half-decent editor, it's pretty clear. YAML is a shitshow, JSON is yuck and let's not talk about XML.

comment 4y ago · link · parent

> So what's the deal? Are OP and me the only devs who have ever hit up against this issue in practice?

The sad truth is that many issues go unreported because people are lazy and move on when they hit a roadblock.

Also, I've seen this problem reported more than a few times so you're not alone.