Linus Torvalds about Monolithic kernel

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • Linus talks about github, monolithic kernel, Apple and Microsoft

КОМЕНТАРІ • 17

  • @nathanielthomas4437
    @nathanielthomas4437 Рік тому +73

    He isn't talking about monolithic kernels, just about the fact that linux has a single kernel.

    • @someidiot4311
      @someidiot4311 3 місяці тому

      this sounds a lot like a monilithic kernel

    • @bogdanbarbu363
      @bogdanbarbu363 3 місяці тому +5

      ​@@someidiot4311 No, it doesn't. A monolithic kernel is one that runs core services in kernel space as opposed to user space (things like device drivers, memory management, network stack, etc.). The advantage being that it's simpler to get it to work fast, the disadvantage being that the poor separation means a bug in any subsystem can bring down the whole thing. He's just talking about Linux being cross-platform: they use the same code base for multiple architectures.

    • @someidiot4311
      @someidiot4311 3 місяці тому

      @@bogdanbarbu363 oh ok

    • @paulogiovannialvarezramos112
      @paulogiovannialvarezramos112 Місяць тому

      @@bogdanbarbu363 He trashed on Apple for the same thing, but AFAIK, Apple's OS Kernel, XNU, is used on all of their OSs. The only things that change is the architecture, drivers, and UI they all have.

    • @bogdanbarbu363
      @bogdanbarbu363 Місяць тому

      @@paulogiovannialvarezramos112 Perhaps not all the way there but you are right in that they share a significant portion of the code base. However, we need to keep in mind that this talk is 12 years old. That's a very long time ago.

  • @tambourine_man
    @tambourine_man 10 місяців тому +23

    macOS shares the same kernel from watch, to phone to desktops. Even AppleTVs and Airports (routers Apple used to make) run XNU. Say what you want about the architecture, but it’s proven remarkably flexible, with 3 ISAs (x86, PPC, ARM) to boot.

    • @TheSast
      @TheSast 10 місяців тому +3

      Neat

    • @Freshbott2
      @Freshbott2 2 місяці тому +1

      I’m shocked he could get that so wrong. By nature, XNU is the most portable since it’s the smallest and isn’t full to the teeth with drivers. And calling the Linux way of doing things unique?? Outside MacOS and Windows, monolithic is normal.

    • @paulogiovannialvarezramos112
      @paulogiovannialvarezramos112 Місяць тому

      @@Freshbott2 I mean, technically, XNU is monolithic (correct me if I'm wrong).

    • @Freshbott2
      @Freshbott2 Місяць тому

      @@paulogiovannialvarezramos112 I don’t claim to be an expert or know what’s In/out of XNU but I think this is a semantic thing. Mach is said to be a micro kernel but XNU encompassing it you could still say is monolithic by definition I guess?? Since the different bits of it are independent and have to intercommunicate they call it hybrid.

    • @ufufuawa401
      @ufufuawa401 Місяць тому +1

      @@paulogiovannialvarezramos112 Isn't XNU is Hybrid Kernel?

  • @gast128
    @gast128 3 місяці тому

    Cellphones have now microprocessors as powerful as PC's of a couple of years back. No wonder Linux (or any other PC OS) would fit.

  • @小川大翔-o3o
    @小川大翔-o3o 9 днів тому

    Garcia Thomas Martin Paul Smith Maria