Skip to content

Comment on Zig’s Io.Threaded is neatparent

Comments

Early Rust was a lot more readable as well. Somehow it turned into the perl 6 of systems languages. They crammed everything they could in there.

Weird thing to say when early Rust had sigils everywhere.

Early Rust had ~ and @ references.

Which, IMO, read nicer than words and ::s drowning out names.

I'm not really against such special symbols, only if they are too much, like in Perl.

~ and @ weren't replaced by anything with ::, though, ~Foo is Box<Foo> and @Foo is Rc<Foo> (or is it Arc<Foo>?). :: to access a member of a module already existed when ~ and @ was in Rust.

Custom syntax highlighting / theming to emphasize names vs. qualifiers is very helpful.

Favorite comment of the day; you do know it will get downvoted to crap right?

Probably because this is a post about Zig’s threaded IO, and complaints about Rust syntax is two conversational leaps away from that subject!

Maybe I'm living in my own bubble, but I feel like criticizing Rust has become a little more acceptable recently.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.