Feddit.cl
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 1 year ago

Supreme leader mad

sh.itjust.works

message-square
102
fedilink
730

Supreme leader mad

sh.itjust.works

0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 1 year ago
message-square
102
fedilink
  • VubDapple@lemmy.world
    link
    fedilink
    arrow-up
    54
    arrow-down
    1
    ·
    1 year ago

    Is it all C?

    • ozymandias117@lemmy.world
      link
      fedilink
      English
      arrow-up
      86
      ·
      1 year ago

      There’s assembly and makefiles too

      Less of a joke answer, there has been work to allow Rust bindings for drivers.

      • Vilian@lemmy.ca
        link
        fedilink
        arrow-up
        29
        arrow-down
        3
        ·
        1 year ago

        rust too

    • BartyDeCanter@lemmy.sdf.org
      link
      fedilink
      arrow-up
      85
      ·
      1 year ago

      According to the github analysis, the kernel repository is:

      • C 98.3%
      • Assembly 0.7%
      • Shell 0.4%
      • Makefile 0.2%
      • Python 0.2%
      • Perl 0.1%
      • Other 0.1%

      So yeah, its basically all C, plus a tiny bit of assembly for very low level bootstrapping and some helper scripts.

      • rambling_lunatic@sh.itjust.works
        link
        fedilink
        arrow-up
        30
        ·
        1 year ago

        Yeah but a lot of that C code has inline assembly so it’s more like 5-10% asm.

        • riodoro1@lemmy.world
          link
          fedilink
          arrow-up
          16
          arrow-down
          3
          ·
          1 year ago

          Inline assembly is such a shit practice. But c++ bad.

          • Mananasi@feddit.nl
            link
            fedilink
            arrow-up
            11
            ·
            1 year ago

            Sometimes you can’t get around it though.

            • riodoro1@lemmy.world
              link
              fedilink
              arrow-up
              2
              arrow-down
              1
              ·
              1 year ago

              Afaik MSVC forbids it and it’s one of the very few nice things about c++ on windows.

              If you need to write assembly don’t fucking do it in a cpp file. Create a header, an assembly file, assemble it and link to it.

      • Blackmist@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Wot no Delphi?

        • FlorianSimon@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          6 months ago

          Removed by mod

        • 0x4E4F@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Yeah, indeed, why not 🤔…

    • jabjoe@feddit.uk
      link
      fedilink
      English
      arrow-up
      17
      ·
      1 year ago

      Lots of core UNIX and Linux projects are. C++ is not liked by a lot of low level FOSS community. I think Rust is going to get further into these areas. I know C++ well but prefer C. I know plenty of others who feel the same.

      • doriancodes@infosec.pub
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I’ve read that they are writing parts of the kernel in Rust

        • jabjoe@feddit.uk
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          Yes, I think Rust is a better C++ and will replace it in many places. Though all three will be around for ever to be honest.

          • 0x4E4F@sh.itjust.worksOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            Yes, first Rust code was released in 6.6 I think and MS also started implementing Rust code in the Windows kernel.

            • jabjoe@feddit.uk
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 year ago

              Rust is certainly interesting. I think it’s the C++ we need.

              • 0x4E4F@sh.itjust.worksOP
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                Exactly my thoughts 👍.

          • refalo@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Personally I find the syntax unreadable.

    • VitabytesDev@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Always has been

      • VubDapple@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Why do I suddenly feel a meme coming on? 😅

linuxmemes@lemmy.world

linuxmemes@lemmy.world

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: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

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

  • 490 users / day
  • 1.7K users / week
  • 9.37K users / month
  • 19K users / 6 months
  • 7 local subscribers
  • 24.9K subscribers
  • 1.63K Posts
  • 93.6K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org