Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lelgenio@lemmy.ml to Programmer Humor@lemmy.ml · 2 years ago

A good book can change your life

lemmy.ml

message-square
35
fedilink
1.03K

A good book can change your life

lemmy.ml

lelgenio@lemmy.ml to Programmer Humor@lemmy.ml · 2 years ago
message-square
35
fedilink
  • unique_hemp@discuss.tchncs.de
    link
    fedilink
    arrow-up
    97
    ·
    edit-2
    2 years ago

    Rust: works

    Zig: segmentation fault

    • space_comrade [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      22
      arrow-down
      2
      ·
      edit-2
      2 years ago

      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.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

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

      • ledtasso@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

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

      • Blake Eastman@billys.mom
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

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

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 562 users / day
  • 1.95K users / week
  • 4K users / month
  • 10.3K users / 6 months
  • 1 local subscriber
  • 36.4K subscribers
  • 1.78K Posts
  • 38K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org