Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected]English • 1 year ago

Supreme leader mad

sh.itjust.works

message-square
103
fedilink
764

Supreme leader mad

sh.itjust.works

@[email protected] to [email protected]English • 1 year ago
message-square
103
fedilink
  • @[email protected]
    link
    fedilink
    54•1 year ago

    Is it all C?

    • @[email protected]
      link
      fedilink
      English
      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.

      • @[email protected]
        link
        fedilink
        29•1 year ago

        rust too

    • @[email protected]
      link
      fedilink
      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.

      • @[email protected]
        link
        fedilink
        English
        1•1 year ago

        Wot no Delphi?

        • @[email protected]
          link
          fedilink
          3•1 year ago

          No VB6 either 🤷‍♂️

          How can one write a kernel without using VB6 at all?

        • @[email protected]OP
          link
          fedilink
          English
          1•1 year ago

          Yeah, indeed, why not 🤔…

      • @[email protected]
        link
        fedilink
        30•1 year ago

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

        • @[email protected]
          link
          fedilink
          16•1 year ago

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

          • @[email protected]
            link
            fedilink
            11•1 year ago

            Sometimes you can’t get around it though.

            • @[email protected]
              link
              fedilink
              2•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.

    • @[email protected]
      link
      fedilink
      1•1 year ago

      Always has been

      • @[email protected]
        link
        fedilink
        4•1 year ago

        Why do I suddenly feel a meme coming on? 😅

    • @[email protected]
      link
      fedilink
      English
      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
        link
        fedilink
        3•1 year ago

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

        • @[email protected]
          link
          fedilink
          English
          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.

          • @[email protected]OP
            link
            fedilink
            English
            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.

            • @[email protected]
              link
              fedilink
              English
              3•1 year ago

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

              • @[email protected]OP
                link
                fedilink
                English
                1•1 year ago

                Exactly my thoughts 👍.

          • @[email protected]
            link
            fedilink
            1•1 year ago

            Personally I find the syntax unreadable.

[email protected]

[email protected]
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: [email protected]

Hint: :q!


Sister communities:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

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.

  • 1 user / day
  • 1 user / week
  • 929 users / month
  • 4.67K users / 6 months
  • 4 subscribers
  • 1.71K Posts
  • 93.8K Comments
  • Modlog
  • mods:
  • Kevin
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org