Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
CatNowBlue ( therealraluvy95@beehaw.org ) B to Programmer Humor@lemmy.ml · 3 years ago

Programming Problem

message-square
44
link
fedilink
42

Programming Problem

CatNowBlue ( therealraluvy95@beehaw.org ) B to Programmer Humor@lemmy.ml · 3 years ago
message-square
44
link
fedilink
  • Re4mstr ( Re4mstr@lemmy.re4mstr.com ) 
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    Crab is Rust, but the last one…

    • Justin ( jlh@lemmy.jlh.name ) 
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      3 years ago

      Apparently it’s called nim.

      https://en.m.wikipedia.org/wiki/Nim_(programming_language)

      Looking at the Wikipedia article, it seems like it has some weird syntax choices. And even though it compiles to C code, I’m not convinced that it’s as fast as C or Rust, since it has a garbage collector.

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

        I’m pretty skeptical it could be as fast and safe as Rust without the added challenge. Like, even doing what Rust did was a big deal.

        • potatoBoy ( potatoBoy@programming.dev ) 
          link
          fedilink
          Afaraf
          arrow-up
          1
          ·
          3 years ago

          Can compile to C which then compiles using your favourite compiler. So it can operate at the speed of C

          And the new memory management system is similar to rusts system (and can be fully disabled if you want manual memory management)

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

            Can compile to C which then compiles using your favourite compiler. So it can operate at the speed of C

            Technically, it all compiles to assembly, but Python is still a lot slower than C or Rust. Speed is lost along the way through those layers of abstraction.

            And the new memory management system is similar to rusts system (and can be fully disabled if you want manual memory management)

            So it doesn’t have a garbage collector? I’m going to have to actually look into this myself.

      • HolyHell ( HolyHell@lemmy.fmhy.ml ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        OH… NIM NIM NIM NIM NIM FUCKING NIM

      • HolyHell ( HolyHell@lemmy.fmhy.ml ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        OH… NIM NIM NIM NIM NIM FUCKING NIM

      • HolyHell ( HolyHell@lemmy.fmhy.ml ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        OH… NIM NIM NIM NIM NIM FUCKING NIM

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.

  • 1 user / day
  • 41 users / week
  • 253 users / month
  • 1.72K users / 6 months
  • 871 local subscribers
  • 43.7K subscribers
  • 1.25K Posts
  • 10.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) 
  • cat_programmer ( cat_programmer@lemmy.ml ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code