Feddit.it
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ᴄʜᴏᴋɪᴅᴀʀ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years ago

rust in the linux kernel

lemmy.world

message-square
18
link
fedilink
486

rust in the linux kernel

lemmy.world

ᴄʜᴏᴋɪᴅᴀʀ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
18
link
fedilink
  • edinbruh
    link
    fedilink
    English
    arrow-up
    59
    ·
    2 years ago

    There! Now try to make a doubly linked list

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      1
      ·
      2 years ago

      unsafe time.

      I’ve poked around in the Rust linked list tutorial, and it all seems like hacks to me. At the end of the day I think you just need to use raw pointers when you’re implementing list operations.

    • darcy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      its not super hard in rust

      • tias@discuss.tchncs.de
        link
        fedilink
        arrow-up
        15
        arrow-down
        1
        ·
        2 years ago

        It’s harder than in most other languages

    • akash_rawal@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      quietly implements next and prev references using array index

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.

  • 803 users / day
  • 1.48K users / week
  • 3.6K users / month
  • 10.1K users / 6 months
  • 148 local subscribers
  • 36.3K subscribers
  • 1.84K Posts
  • 38.5K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org