You are viewing a single thread.
View all comments View context
96 points
*

Rust: works

Zig: segmentation fault

permalink
report
parent
reply

Also no higher-order functions like map, filter, reduce etc.

Really weird design decision for a brand new language.

Comptime is pretty dope tho, I wish Rust had that instead of relying on macros so much.

permalink
report
parent
reply
3 points

So how is Zig different from C or C++, then?

permalink
report
parent
reply
6 points

Much nicer than C, much simpler than C++, much less cruft than both.

permalink
report
parent
reply
1 point

@CanadaPlus @unique_hemp the biggest difference is that they don’t make any memory changes invisibly

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 3.6K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments