LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cockmushroom@reddthat.com to Programmer Humor@lemmy.ml · 1 day ago

The things people do to sabotage free software

lemmy.ml

message-square
13
fedilink
40

The things people do to sabotage free software

lemmy.ml

cockmushroom@reddthat.com to Programmer Humor@lemmy.ml · 1 day ago
message-square
13
fedilink
alert-triangle
You must log in or register to comment.
  • flamingos-cant (hopepunk arc)@feddit.uk
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    This is correct and fine?

    • cockmushroom@reddthat.comOP
      link
      fedilink
      arrow-up
      5
      ·
      1 day ago

      It’s also a c wrapper

      • flamingos-cant (hopepunk arc)@feddit.uk
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 day ago

        So? It’s logname, what do you expect, for them to read the bits directly from memory? If you’re going to criticise this for anything, it should be that it doesn’t support Windows, not that it calls out to libc.

        • cockmushroom@reddthat.comOP
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          See the third clause in the kitty’s train of thought. If it’s of any consolation to you, I’d never have gone looking if I’d known what to expect.

      • Magister@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        yeah, all of this to call libc::getlogin().

        • four@lemmy.zip
          link
          fedilink
          English
          arrow-up
          9
          ·
          1 day ago

          I no longer use any wrappers or utils, they’re just bloat. Now I just use my dousing rod to read and set bits in my RAM, way more efficient

          • cockmushroom@reddthat.comOP
            link
            fedilink
            arrow-up
            2
            ·
            20 hours ago

            #RewriteItInRod

          • JoYo@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            it’s wrappers and utils all the way down.

  • Eggymatrix@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    I mean, have you ever looked at any low level code from any language that came out in the last 30 years? Its always C.

    • cockmushroom@reddthat.comOP
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      Sure, but they don’t usually have the audacity to market themselves as a viable alternative and cannibalize its system interfaces (or, in this case, claim to)

      • Eggymatrix@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        56 minutes ago

        Good engeneering solutions are better than steering clear of hypocrisy. The rust zealots will happily tell you that this is just an implementation detail, YOU should write rust, because you will have no bugs, they instead need to ship, so concessions need to be made.

  • stingpie@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    I’m not that well versed in rust, is this literally just wrapping the C library in rust, and calling it a rust implementation of it?

    • Ŝan • 𐑖ƨɤ@piefed.zip
      link
      fedilink
      English
      arrow-up
      6
      ·
      21 hours ago

      Yes. Unsafely.

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.

  • 171 users / day
  • 239 users / week
  • 1.18K users / month
  • 4.95K users / 6 months
  • 1 local subscriber
  • 42.7K subscribers
  • 430 Posts
  • 2.09K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org